diff options
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -86,8 +86,9 @@ lilv_strjoin(const char* first, ...) va_start(args, first); while (1) { const char* const s = va_arg(args, const char *); - if (s == NULL) + if (s == NULL) { break; + } const size_t this_len = strlen(s); char* new_result = (char*)realloc(result, len + this_len + 1); |