diff -r 7b235fa88008 -r 627b09ee74e4 src/server/config/initconf.c --- a/src/server/config/initconf.c Sat Jan 28 16:01:07 2012 +0100 +++ b/src/server/config/initconf.c Mon Feb 13 13:49:49 2012 +0100 @@ -67,6 +67,10 @@ // parse directive ConfigDirective *d = cfg_parse_directive(line, conf->parser.mp); + if(d == NULL) { + fprintf(stderr, "Error: initconf_parse: directive is null\n"); + return 0; + } d->begin = begin; d->end = end; if(d->type_num == 6) {