diff options
Diffstat (limited to 'strings/strinstr.c')
-rw-r--r-- | strings/strinstr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/strinstr.c b/strings/strinstr.c index 1c814d19d47..457581af950 100644 --- a/strings/strinstr.c +++ b/strings/strinstr.c @@ -34,14 +34,14 @@ uint strinstr(reg1 const char *str,reg4 const char *search) reg2 my_string i,j; my_string start = (my_string) str; - skipp: + skip: while (*str != '\0') { if (*str++ == *search) { i=(my_string) str; j= (my_string) search+1; while (*j) - if (*i++ != *j++) goto skipp; + if (*i++ != *j++) goto skip; return ((uint) (str - start)); } } |