libc: fix misleading comment in strstr

Obtained from:	musl c53e9b239418
This commit is contained in:
Ed Maste 2022-01-16 11:50:10 -05:00
parent 4ca4193760
commit c6750f07b4

View File

@ -149,7 +149,7 @@ twoway_strstr(const unsigned char *h, const unsigned char *n)
for (;;) {
/* Update incremental end-of-haystack pointer */
if (z - h < l) {
/* Fast estimate for MIN(l,63) */
/* Fast estimate for MAX(l,63) */
size_t grow = l | 63;
const unsigned char *z2 = memchr(z, 0, grow);
if (z2) {