summaryrefslogtreecommitdiff
path: root/libc/string/strcasestr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/strcasestr.c')
-rw-r--r--libc/string/strcasestr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/strcasestr.c b/libc/string/strcasestr.c
index 3334086bf..8f57cc0a3 100644
--- a/libc/string/strcasestr.c
+++ b/libc/string/strcasestr.c
@@ -16,7 +16,7 @@ char *strcasestr(const char *s1, const char *s2)
#if 1
do {
if (!*p) {
- return (char *) s1;;
+ return (char *) s1;
}
if ((*p == *s)
|| (tolower(*((unsigned char *)p)) == tolower(*((unsigned char *)s)))