aquatic_http: parse_key_value_pairs_memchr: small code improvement

This commit is contained in:
Joakim Frostegård 2020-07-19 13:06:39 +02:00
parent a8e355f22a
commit ca8d278a03
7 changed files with 1011 additions and 1008 deletions

View file

@ -175,10 +175,10 @@ impl Request {
data.insert(key, value);
}
position = segment_end + 1;
if position == query_string.len(){
break;
if segment_end == query_string.len(){
break
} else {
position = segment_end + 1;
}
}