summaryrefslogtreecommitdiffstats
path: root/common/iobuf.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-01-12 03:45:31 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2016-01-12 03:45:31 +0100
commit4b4639b0b04dc82c550fa711dd7193e13fc4a428 (patch)
tree2d16cf41f21ec22604e02290eed3730b081683eb /common/iobuf.h
parentcommon: Fix iobuf API of filter function for alignment. (diff)
downloadgnupg2-4b4639b0b04dc82c550fa711dd7193e13fc4a428.tar.xz
gnupg2-4b4639b0b04dc82c550fa711dd7193e13fc4a428.zip
common: Fix iobuf API of filter function for alignment.
* common/iobuf.h: Fix comment. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to '')
-rw-r--r--common/iobuf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/iobuf.h b/common/iobuf.h
index 69764d6f5..8ba02b3b4 100644
--- a/common/iobuf.h
+++ b/common/iobuf.h
@@ -406,8 +406,7 @@ int iobuf_cancel (iobuf_t iobuf);
IOBUFCTRL_DESC: Called with this value to get a human-readable
description of the filter. *LEN is the size of the buffer.
The description is filled into BUF, NUL-terminated. Always
- returns 0. When the size of the buffer is shorter than the
- description, it is truncated and not NUL-terminated.
+ returns 0.
*/
int iobuf_push_filter (iobuf_t a, int (*f) (void *opaque, int control,
iobuf_t chain, byte * buf,