From a67c6273255c0357bf1e14ea35005b47c9a94e6c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 6 Jul 2000 00:20:50 +0000 Subject: Lots and lots of cleanups. -Erik --- libc/string/strstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/string/strstr.c') diff --git a/libc/string/strstr.c b/libc/string/strstr.c index aafcaf967..3c853ac52 100644 --- a/libc/string/strstr.c +++ b/libc/string/strstr.c @@ -17,7 +17,7 @@ char *s1; char *s2; if( l==0 ) return p; - while (p = strchr(p, *s2)) + while ((p = strchr(p, *s2))) { if( memcmp(p, s2, l) == 0 ) return p; -- cgit v1.2.3