diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-06 00:20:50 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-06 00:20:50 +0000 |
commit | a67c6273255c0357bf1e14ea35005b47c9a94e6c (patch) | |
tree | 34bce2531223bbc738b0c4e13fa25aeca2d1d79e /libc/string/strstr.c | |
parent | 42ee079162ef0aacb93181dcc0df86c9d33f75c5 (diff) |
Lots and lots of cleanups.
-Erik
Diffstat (limited to 'libc/string/strstr.c')
-rw-r--r-- | libc/string/strstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |