aboutsummaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c
index 90705ce..cd7e672 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -309,9 +309,8 @@ void parse_query(const char* query_arg)
char* key = head;
char* value = NULL;
- while (head <= end)
+ while (++head <= end)
{
- ++head;
if (!value && *head == '=')
{
*head = '\0';