From bd5a0ed2f66454b2d298d7fec6a9ede2ca87aef1 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 24 Sep 2004 20:06:13 +0000 Subject: r2605: Fix stupid typo in back-port of Samba4 fix. Jeremy. (This used to be commit ca9516520ffe007a7dccd4d6cbf1c5d77fc4ce29) --- source3/lib/util_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index 2c0cae1d73..a758aece4c 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -1211,7 +1211,7 @@ char *strchr_m(const char *src, char c) /* characters below 0x3F are guaranteed to not appear in non-initial position in multi-byte charsets */ if ((c & 0xC0) == 0) { - return strchr(s, c); + return strchr(src, c); } /* this is quite a common operation, so we want it to be -- cgit