Commit 02a3127d authored by Tim Rühsen's avatar Tim Rühsen

tests/test-lookup.c: Fix printf() crash on Solaris

parent 4de79dd3
......@@ -844,7 +844,7 @@ static char *_nextField(char **line)
char *s = *line, *e;
if (!*s)
return NULL;
return "";
if (!(e = strpbrk(s, ";#"))) {
e = *line += strlen(s);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment