summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bb991c6)
All writers have a config parser. This check was bogus anyway: If there was a writer
without config parser and we call it without arguments (i.e. "c" is NULL), this would lead
to a NULL pointer dereference.
c = wa[len];
if (c && c != ' ')
continue;
c = wa[len];
if (c && c != ' ')
continue;
- if (c && !writers[i].parse_config_or_die)
- return NULL;
*writer_num = i;
return writers[i].parse_config_or_die(c? wa + len + 1 : "");
}
*writer_num = i;
return writers[i].parse_config_or_die(c? wa + len + 1 : "");
}