aboutsummaryrefslogtreecommitdiff
path: root/src/str.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/str.c')
-rw-r--r--src/str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/str.c b/src/str.c
index 56ea893..9f63c72 100644
--- a/src/str.c
+++ b/src/str.c
@@ -197,7 +197,7 @@ char *join_ex(char *separator, ...) {
if (tmp == NULL) {
perror("join_ex realloc failed");
return NULL;
- } else if (tmp != argv) {
+ } else {
argv = tmp;
}
size += strlen(current) + separator_len;