summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-09-10 18:03:24 +0000
committerJeremy Allison <jra@samba.org>2003-09-10 18:03:24 +0000
commitec9f544561c31487b0fa2888da34b4ee0ec87c6a (patch)
tree789ea13220fc7a1e9ac68d4ec7a302b9df306a11 /source3
parent85087fbac5925a0ecfee5b651f94edff509a3679 (diff)
downloadsamba-ec9f544561c31487b0fa2888da34b4ee0ec87c6a.tar.gz
samba-ec9f544561c31487b0fa2888da34b4ee0ec87c6a.tar.bz2
samba-ec9f544561c31487b0fa2888da34b4ee0ec87c6a.zip
Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann <ungermann@elzet80.de>
Jeremy. (This used to be commit c5ed59b37be1bf779e0d0e61c31227b520430afd)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_str.c1
1 files changed, 1 insertions, 0 deletions
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)