From 608c456a6849dadecab156657854f5335d86cb3d Mon Sep 17 00:00:00 2001 From: anryko Date: Sun, 7 Jan 2018 20:20:11 +0100 Subject: vsprintf returns negative on error. --- src/util/common_allocation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util') diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c index 80047bb52..1c55d72b5 100644 --- a/src/util/common_allocation.c +++ b/src/util/common_allocation.c @@ -475,8 +475,8 @@ GNUNET_xgrow_ (void **old, */ int GNUNET_asprintf (char **buf, - const char *format, - ...) + const char *format, + ...) { int ret; va_list args; -- cgit v1.2.3