diff options
author | chris <> | 2005-12-02 10:50:34 +0000 |
---|---|---|
committer | chris <> | 2005-12-02 10:50:34 +0000 |
commit | 973005a1a8b34f900b75a84dcfd029c93b15444c (patch) | |
tree | 52e0e8d1ecdc4055f2c01f20684105264c6f136f | |
parent | b4528d66d991f09315d81a6c98c6fdeb57ba604e (diff) | |
download | iftop-973005a1a8b34f900b75a84dcfd029c93b15444c.zip |
Fix d'oh (caused crash on amd64 -- email of 20051202).
-rw-r--r-- | cfgfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |