From ec9f544561c31487b0fa2888da34b4ee0ec87c6a Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 10 Sep 2003 18:03:24 +0000 Subject: Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann Jeremy. (This used to be commit c5ed59b37be1bf779e0d0e61c31227b520430afd) --- source3/lib/util_str.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/lib') diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index 82b312e241..57131ad873 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -1189,6 +1189,7 @@ char *strchr_m(const char *s, char c) while (*s && (((unsigned char)s[0]) & 0x80)) { if (*s == c) return s; + s++; } if (!*s) -- cgit