diff options
Diffstat (limited to '')
-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) |