diff --git a/utils/http.c b/utils/http.c index 12672261d..65c82d39e 100644 --- a/utils/http.c +++ b/utils/http.c @@ -130,6 +130,8 @@ static nserror http_parse_quoted_string(const char **input, char **value) start--; end = start; } + } else { + end = start; } string_value = malloc(end - start + 1);