diff options
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 13bb4a7d06..f084d52c26 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -2452,7 +2452,7 @@ static char *canonicalize_servicename(const char *src) static fstring canon; /* is fstring large enough? */ int dst_idx = 0; - for (; *src != '\0'; src++) { + for (; *src != '\0'; src += next_mb_char_size(src)) { if (isspace(*src)) { continue; } |