diff options
Diffstat (limited to 'compat_vasprintf.c')
-rw-r--r-- | compat_vasprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat_vasprintf.c b/compat_vasprintf.c index bfeb96dd..72e8dbcf 100644 --- a/compat_vasprintf.c +++ b/compat_vasprintf.c @@ -46,11 +46,11 @@ vasprintf(char **ret, const char *format, va_list ap) if (sz != -1 && (*ret = malloc(sz + 1)) != NULL) { if (vsnprintf(*ret, sz + 1, format, ap) == sz) - return(sz); + return sz; free(*ret); } *ret = NULL; - return(-1); + return -1; } #endif |