diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2001-11-10 17:36:58 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2001-11-10 17:36:58 +0000 |
commit | 33ad961d11cf77bce1c6bf27bc745359e79a613f (patch) | |
tree | f156de439a5877a7e0869e9ef6097c3fb19380a1 /lib/libc/string/wcsspn.c | |
parent | 92678c29086ffa5cb75ca3a484e6b0bdb9b34f28 (diff) |
Increment the loop counter.
PR: bin/29218
Submitted by: Goran Lowkrantz <goran.lowkrantz@ismobile.com>
Notes
Notes:
svn path=/head/; revision=86241
Diffstat (limited to 'lib/libc/string/wcsspn.c')
-rw-r--r-- | lib/libc/string/wcsspn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/string/wcsspn.c b/lib/libc/string/wcsspn.c index 69aa628da48a..42dd1e6733bc 100644 --- a/lib/libc/string/wcsspn.c +++ b/lib/libc/string/wcsspn.c @@ -49,6 +49,7 @@ wcsspn(s, set) while (*q) { if (*p == *q) break; + q++; } if (!*q) goto done; |