Use selbufpos instead of selbuflen

This commit is contained in:
KlzXS 2021-07-11 20:16:28 +02:00
parent c0dceb18c6
commit b5d1a1b036
No known key found for this signature in database
GPG Key ID: FF9B81B098D5BACA
1 changed files with 1 additions and 1 deletions

View File

@ -1540,7 +1540,7 @@ static char *findinsel(char *startpos, int len)
startpos = pselbuf;
char *found = startpos;
size_t buflen = selbuflen - (startpos - pselbuf);
size_t buflen = selbufpos - (startpos - pselbuf);
while (1) {
/*