summaryrefslogtreecommitdiff
path: root/strings/strstr.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
commitf1bfba29d4e61daaafdf60df402dca3f70e2c79d (patch)
treeae7957062d4d1c4f2256c593e924347d05c66bb6 /strings/strstr.c
parentf85e469eedc259dcdeb657ceef63b071a2983849 (diff)
downloadmariadb-git-f1bfba29d4e61daaafdf60df402dca3f70e2c79d.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/strstr.c')
-rw-r--r--strings/strstr.c4
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);
}
}