diff options
Diffstat (limited to 'strings/strstr.c')
-rw-r--r-- | strings/strstr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/strstr.c b/strings/strstr.c index ca845568ddb..bd65ef654b1 100644 --- a/strings/strstr.c +++ b/strings/strstr.c @@ -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); } } |