aboutsummaryrefslogtreecommitdiff
path: root/cmd-string.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-string.c')
-rw-r--r--cmd-string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-string.c b/cmd-string.c
index 8e2ec1bf..27b051b1 100644
--- a/cmd-string.c
+++ b/cmd-string.c
@@ -121,7 +121,7 @@ cmd_string_parse(const char *s, struct cmd_list **cmdlist, char **cause)
case EOF:
case ' ':
case '\t':
- if (have_arg) {
+ if (have_arg) {
buf = xrealloc(buf, 1, len + 1);
buf[len] = '\0';