From 4b4639b0b04dc82c550fa711dd7193e13fc4a428 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 12 Jan 2016 11:45:31 +0900 Subject: [PATCH] common: Fix iobuf API of filter function for alignment. * common/iobuf.h: Fix comment. -- Signed-off-by: NIIBE Yutaka --- common/iobuf.h | 3 +-- 1 file changed, 1 insertion(+), 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,