summaryrefslogtreecommitdiff
path: root/os/strcasestr.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/strcasestr.c')
-rw-r--r--os/strcasestr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/strcasestr.c b/os/strcasestr.c
index b3d45495c..f89b2f2dc 100644
--- a/os/strcasestr.c
+++ b/os/strcasestr.c
@@ -54,7 +54,7 @@ xstrcasestr(const char *s, const char *find)
do {
do {
if ((sc = *s++) == 0)
- return (NULL);
+ return NULL;
} while ((char)tolower((unsigned char)sc) != c);
} while (strncasecmp(s, find, len) != 0);
s--;