diff --git a/src/proto_http.c b/src/proto_http.c index a22e2500a..1e038f461 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -2151,7 +2151,7 @@ int parse_qvalue(const char *qvalue, const char **end) out: if (q > 1000) q = 1000; - if (*end) + if (end) *end = qvalue; return q; }