summaryrefslogtreecommitdiff
path: root/utils/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/http.c')
-rw-r--r--utils/http.c2
1 files changed, 2 insertions, 0 deletions
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);