summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/readconf.c b/readconf.c
index 1112d0d86..e2e10d9d6 100644
--- a/readconf.c
+++ b/readconf.c
@@ -324,7 +324,8 @@ process_config_line(Options *options, const char *host,
324 324
325 s = line; 325 s = line;
326 /* Get the keyword. (Each line is supposed to begin with a keyword). */ 326 /* Get the keyword. (Each line is supposed to begin with a keyword). */
327 keyword = strdelim(&s); 327 if ((keyword = strdelim(&s)) == NULL)
328 return 0;
328 /* Ignore leading whitespace. */ 329 /* Ignore leading whitespace. */
329 if (*keyword == '\0') 330 if (*keyword == '\0')
330 keyword = strdelim(&s); 331 keyword = strdelim(&s);