Fix typo in parser
FossilOrigin-Name: 2bd8204dfd90dd51073a1c8d974785399272578b8adee4f781363a4c33ca32c0
This commit is contained in:
parent
c020158001
commit
6d1ef5f938
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ int parse_path(struct session* ssn,
|
|||
goto breakpt;
|
||||
}
|
||||
|
||||
read_len = (size_t)after_str - (size_t)(p2 + j);
|
||||
read_len = (size_t)after_str - (size_t)(p2 + i);
|
||||
// Copy in new data from the string we just read
|
||||
tmp = malloc(read_len+1);
|
||||
strncpy(tmp, after_str - read_len, read_len);
|
||||
|
|
Loading…
Reference in a new issue