diff options
author | anryko <a.shvenke@gmail.com> | 2018-01-07 20:20:11 +0100 |
---|---|---|
committer | anryko <a.shvenke@gmail.com> | 2018-01-07 20:20:11 +0100 |
commit | 608c456a6849dadecab156657854f5335d86cb3d (patch) | |
tree | 59c70e6d02412c35b089bc017668f822faa55327 /src/util | |
parent | 638642f8a3d750d77c501bcd565c05c2f98bbc2d (diff) | |
download | gnunet-608c456a6849dadecab156657854f5335d86cb3d.tar.gz gnunet-608c456a6849dadecab156657854f5335d86cb3d.zip |
vsprintf returns negative on error.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/common_allocation.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, | |||
475 | */ | 475 | */ |
476 | int | 476 | int |
477 | GNUNET_asprintf (char **buf, | 477 | GNUNET_asprintf (char **buf, |
478 | const char *format, | 478 | const char *format, |
479 | ...) | 479 | ...) |
480 | { | 480 | { |
481 | int ret; | 481 | int ret; |
482 | va_list args; | 482 | va_list args; |