summaryrefslogtreecommitdiff
path: root/strings/r_strinstr.c
diff options
context:
space:
mode:
authorram@gw.mysql.r18.ru <>2004-02-02 20:25:39 +0400
committerram@gw.mysql.r18.ru <>2004-02-02 20:25:39 +0400
commitf231d9826b46da589165dd2dd0066abc7482d6c7 (patch)
treeae7957062d4d1c4f2256c593e924347d05c66bb6 /strings/r_strinstr.c
parent3243678040ab4c1934c150d15b7d889714e69631 (diff)
downloadmariadb-git-f231d9826b46da589165dd2dd0066abc7482d6c7.tar.gz
just tried to find all 'skipp' and replace it with 'skip'.
Diffstat (limited to 'strings/r_strinstr.c')
-rw-r--r--strings/r_strinstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/r_strinstr.c b/strings/r_strinstr.c
index 76d310a3fda..fdd6e010a22 100644
--- a/strings/r_strinstr.c
+++ b/strings/r_strinstr.c
@@ -35,7 +35,7 @@ uint r_strinstr(reg1 my_string str,int from, reg4 my_string search)
/* pointer to the last char of search */
my_string search_end = search + len - 1;
- skipp:
+ skip:
while (start >= str) /* Cant be != because the first char */
{
if (*start-- == *search_end)
@@ -43,7 +43,7 @@ uint r_strinstr(reg1 my_string str,int from, reg4 my_string search)
i = start; j = search_end - 1;
while (j >= search && start > str)
if (*i-- != *j--)
- goto skipp;
+ goto skip;
return (uint) ((start - len) - str + 3);
}
}