3 @@ -45,9 +45,9 @@ stringmap config;
4 extern options_t options ;
6 int is_cfgdirective_valid(const char *s) {
8 - for (t = config_directives; *t != NULL; ++t)
9 - if (strcmp(s, *t) == 0) return 1;
11 + for (t = 0; config_directives[t] != NULL; t++)
12 + if (strcmp(s, config_directives[t]) == 0) return 1;