summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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)