diff options
author | Neal H. Walfield <[email protected]> | 2016-02-23 19:36:07 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2016-02-23 19:49:47 +0000 |
commit | 903466e124841cb29f518afa6b7706d490737ac3 (patch) | |
tree | afde9e1d3e16609068054bf2ea3d3fec0747b77b /g10/build-packet.c | |
parent | g13: Add commands --suspend and --remove. (diff) | |
download | gnupg-903466e124841cb29f518afa6b7706d490737ac3.tar.gz gnupg-903466e124841cb29f518afa6b7706d490737ac3.zip |
common: More accurately name function.
* common/iobuf.c (iobuf_set_partial_block_mode): Rename from this...
(iobuf_set_partial_body_length_mode): ... to this. Update callers.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | g10/build-packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/build-packet.c b/g10/build-packet.c index 42452086d..4dec5b94f 100644 --- a/g10/build-packet.c +++ b/g10/build-packet.c @@ -551,7 +551,7 @@ do_plaintext( IOBUF out, int ctb, PKT_plaintext *pt ) } wipememory(buf,1000); /* burn the buffer */ if( (ctb&0x40) && !pt->len ) - iobuf_set_partial_block_mode(out, 0 ); /* turn off partial */ + iobuf_set_partial_body_length_mode(out, 0 ); /* turn off partial */ if( pt->len && n != pt->len ) log_error("do_plaintext(): wrote %lu bytes but expected %lu bytes\n", (ulong)n, (ulong)pt->len ); @@ -1334,7 +1334,7 @@ write_new_header( IOBUF out, int ctb, u32 len, int hdrlen ) if( iobuf_put(out, ctb ) ) return -1; if( !len ) { - iobuf_set_partial_block_mode(out, 512 ); + iobuf_set_partial_body_length_mode(out, 512 ); } else { if( len < 192 ) { |