summaryrefslogtreecommitdiff
path: root/strings/strinstr.c
diff options
context:
space:
mode:
authorunknown <ram@gw.mysql.r18.ru>2004-02-02 20:25:39 +0400
committerunknown <ram@gw.mysql.r18.ru>2004-02-02 20:25:39 +0400
commit7abd2611694cc4da43d3f1d2c43422d720db4743 (patch)
treeae7957062d4d1c4f2256c593e924347d05c66bb6 /strings/strinstr.c
parentcf3b913da6f1a420783c27b372e31c6848ec1372 (diff)
downloadmariadb-git-7abd2611694cc4da43d3f1d2c43422d720db4743.tar.gz
just tried to find all 'skipp' and replace it with 'skip'.
client/sql_string.cc: skipp -> skip dbug/dbug.c: skipp -> skip myisam/mi_create.c: skipp -> skip myisam/mi_dynrec.c: skipp -> skip myisam/mi_packrec.c: skipp -> skip myisam/mi_rrnd.c: skipp -> skip myisam/mi_test1.c: skipp -> skip myisam/myisampack.c: skipp -> skip myisam/rt_test.c: skipp -> skip myisam/sp_test.c: skipp -> skip mysys/default.c: skipp -> skip mysys/mf_iocache.c: skipp -> skip mysys/mf_pack.c: skipp -> skip mysys/mf_wcomp.c: skipp -> skip mysys/typelib.c: skipp -> skip sql/filesort.cc: skipp -> skip sql/item_strfunc.cc: skipp -> skip sql/mysqld.cc: skipp -> skip sql/opt_range.h: skipp -> skip sql/sql_delete.cc: skipp -> skip sql/sql_select.cc: skipp -> skip sql/sql_string.cc: skipp -> skip sql/sql_update.cc: skipp -> skip strings/ctype-bin.c: skipp -> skip strings/ctype-simple.c: skipp -> skip strings/r_strinstr.c: skipp -> skip strings/strinstr.c: skipp -> skip strings/strstr.c: skipp -> skip
Diffstat (limited to 'strings/strinstr.c')
-rw-r--r--strings/strinstr.c4
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));
}
}