Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaXser committed Jul 26, 2024
1 parent aafd811 commit 3891f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/goodbyedpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ static const char* dumb_memmem(const char* haystack, unsigned int hlen,
if (nlen == 0) return haystack;

if (nlen > hlen) return NULL;
return strstr(haystack, needle);
return memmem(haystack, hlen, needle, nlen);
}

unsigned short int atousi(const char *str, const char *msg) {
Expand Down

0 comments on commit 3891f72

Please sign in to comment.