r2605: Fix stupid typo in back-port of Samba4 fix.
authorJeremy Allison <jra@samba.org>
Fri, 24 Sep 2004 20:06:13 +0000 (20:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:47 +0000 (10:52 -0500)
Jeremy.

source/lib/util_str.c

index 2c0cae1d73dbfebf582f9237e7d01c75346e5975..a758aece4cace7973a992a120b296fa242ba605e 100644 (file)
@@ -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