diff options
Diffstat (limited to 'ta')
-rw-r--r-- | ta/ta_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ta/ta_utils.c b/ta/ta_utils.c index 7c66a14490..80a42bb16d 100644 --- a/ta/ta_utils.c +++ b/ta/ta_utils.c @@ -247,7 +247,7 @@ bool ta_asprintf_append(char **str, const char *fmt, ...) bool ta_vasprintf_append(char **str, const char *fmt, va_list ap) { - return ta_vasprintf_append_at(str, str && *str ? strlen(*str) : 0, fmt, ap); + return ta_vasprintf_append_at(str, *str ? strlen(*str) : 0, fmt, ap); } /* Append the formatted string at the end of the allocation of *str. It |