summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchris <>2005-12-02 10:50:34 +0000
committerchris <>2005-12-02 10:50:34 +0000
commit973005a1a8b34f900b75a84dcfd029c93b15444c (patch)
tree52e0e8d1ecdc4055f2c01f20684105264c6f136f
parentb4528d66d991f09315d81a6c98c6fdeb57ba604e (diff)
downloadiftop-973005a1a8b34f900b75a84dcfd029c93b15444c.zip
Fix d'oh (caused crash on amd64 -- email of 20051202).
-rw-r--r--cfgfile.c2
1 files changed, 1 insertions, 1 deletions
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;
}