replaced 'missing value' warning by zero length chunk_t value

This commit is contained in:
Andreas Steffen
2006-09-25 06:18:45 +00:00
parent 37d882e732
commit 7f0a14b07f
+2 -1
View File
@@ -98,7 +98,8 @@ err_t extract_value(chunk_t *value, chunk_t *line)
if (!eat_whitespace(line))
{
return "missing value";
*value = CHUNK_INITIALIZER;
return NULL;
}
if (*line->ptr == '\'' || *line->ptr == '"')
{