From 5cf79f84396fe1f496c53a2ee8903fed8759d28f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 28 Aug 2015 17:53:10 +0200 Subject: doc proto-util MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libmdsclient/proto-util.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/libmdsclient/proto-util.c b/src/libmdsclient/proto-util.c index a2b24f6..c0f0c3b 100644 --- a/src/libmdsclient/proto-util.c +++ b/src/libmdsclient/proto-util.c @@ -709,6 +709,9 @@ int libmds_compose_v(char** restrict buffer, size_t* restrict buffer_size, size_ # pragma GCC diagnostic ignored "-Wformat-nonliteral" # pragma GCC diagnostic ignored "-Wsuggest-attribute=format" part_len = vasprintf(&part_msg, format, args); + /* TODO we need a version of vasprintf that can + * write to a buffer with an offset, but + * reallocate the buffer on will. */ # pragma GCC diagnostic pop if (include == 0) -- cgit v1.2.3-70-g09d2