From 68dd6d33d6416cd59a581c8f80f63fffcce4bb2c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 3 Sep 2015 03:49:33 +0200 Subject: m 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/libmdsclient/proto-util.c b/src/libmdsclient/proto-util.c index c0f0c3b..5cc187b 100644 --- a/src/libmdsclient/proto-util.c +++ b/src/libmdsclient/proto-util.c @@ -709,9 +709,7 @@ 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. */ + /* XXX vbprintf in slibc will be a nice replacement for this horror. */ # pragma GCC diagnostic pop if (include == 0) -- cgit v1.2.3-70-g09d2