about summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/utils.c b/Src/utils.c
index c83268422..0d9f9f9c3 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -2058,6 +2058,8 @@ sepjoin(char **s, char *sep, int heap)
 	if (ifs) {
 	    *p++ = *ifs;
 	    *p++ = *ifs == Meta ? ifs[1] ^ 32 : '\0';
+	} else {
+	    *p++ = ' ';
 	}
 	*p = '\0';
     }