Ignore edge case when finished

FossilOrigin-Name: 7e7966834e7615b2b85707aa183ec4afa99069e0bca36f00a92788a5d2ec5771
This commit is contained in:
me@ow.nekobit.net 2022-04-05 22:52:43 +00:00
parent 0d6328fa98
commit 5b904e0117

View file

@ -62,7 +62,7 @@ int parse_path(struct session* ssn,
tmp = NULL;
str_size = 0;
}
else if (state == PARSE_NEUTRAL) {
else if (state == PARSE_NEUTRAL && fin != 1) {
if (p[j] == p2[i])
break;
else {