mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
just tried to find all 'skipp' and replace it with 'skip'.
This commit is contained in:
@ -37,12 +37,12 @@ char *strstr(register const char *str,const char *search)
|
||||
register char *i,*j;
|
||||
register char first= *search;
|
||||
|
||||
skipp:
|
||||
skip:
|
||||
while (*str != '\0') {
|
||||
if (*str++ == first) {
|
||||
i=(char*) str; j=(char*) search+1;
|
||||
while (*j)
|
||||
if (*i++ != *j++) goto skipp;
|
||||
if (*i++ != *j++) goto skip;
|
||||
return ((char*) str-1);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user