From 973005a1a8b34f900b75a84dcfd029c93b15444c Mon Sep 17 00:00:00 2001 From: chris <> Date: Fri, 2 Dec 2005 10:50:34 +0000 Subject: [PATCH] Fix d'oh (caused crash on amd64 -- email of 20051202). --- cfgfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfgfile.c b/cfgfile.c index e739f0f..442316c 100644 --- a/cfgfile.c +++ b/cfgfile.c @@ -46,7 +46,7 @@ extern options_t options ; int is_cfgdirective_valid(const char *s) { char **t; - for (t = config_directives; t != NULL; ++t) + for (t = config_directives; *t != NULL; ++t) if (strcmp(s, *t) == 0) return 1; return 0; }