diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-28 17:53:10 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-28 17:53:10 +0200 |
commit | 5cf79f84396fe1f496c53a2ee8903fed8759d28f (patch) | |
tree | 358a768adbcfc7e7a314fef3ad242bd00a27b73d /src/libmdsclient | |
parent | typo (diff) | |
download | mds-5cf79f84396fe1f496c53a2ee8903fed8759d28f.tar.gz mds-5cf79f84396fe1f496c53a2ee8903fed8759d28f.tar.bz2 mds-5cf79f84396fe1f496c53a2ee8903fed8759d28f.tar.xz |
doc proto-util
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libmdsclient')
-rw-r--r-- | src/libmdsclient/proto-util.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |