aboutsummaryrefslogtreecommitdiff
path: root/src/str.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-09 10:59:57 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-09 12:51:30 -0400
commit43df8ff3ac4156b99d1e288d666ea1a77584b3f8 (patch)
tree65dbe9896af4a8f2e3397b706d202303d62b367f /src/str.c
parentf6b40e8aa62eb73ef542d9188af417ab3b5f5a73 (diff)
downloadstasis-43df8ff3ac4156b99d1e288d666ea1a77584b3f8.tar.gz
str.c: fix realloc(s)
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;