replaced 'missing value' warning by zero length chunk_t value
This commit is contained in:
@@ -98,7 +98,8 @@ err_t extract_value(chunk_t *value, chunk_t *line)
|
|||||||
|
|
||||||
if (!eat_whitespace(line))
|
if (!eat_whitespace(line))
|
||||||
{
|
{
|
||||||
return "missing value";
|
*value = CHUNK_INITIALIZER;
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
if (*line->ptr == '\'' || *line->ptr == '"')
|
if (*line->ptr == '\'' || *line->ptr == '"')
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user