summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg.c b/src/cfg.c
index e0eea62..4af6829 100644
--- a/src/cfg.c
+++ b/src/cfg.c
@@ -244,7 +244,7 @@ asgn(struct wordsplit *ws, size_t *psize)
244 size * sizeof(ws->ws_env[0])); 244 size * sizeof(ws->ws_env[0]));
245 } 245 }
246 ws->ws_env[n] = ws->ws_wordv[0]; 246 ws->ws_env[n] = ws->ws_wordv[0];
247 ws->ws_env[n++] = NULL; 247 ws->ws_env[++n] = NULL;
248 } 248 }
249 ws->ws_wordv[0] = NULL; 249 ws->ws_wordv[0] = NULL;
250 *psize = size; 250 *psize = size;

Return to:

Send suggestions and report system problems to the System administrator.