summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-09-24 20:06:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:47 -0500
commitbd5a0ed2f66454b2d298d7fec6a9ede2ca87aef1 (patch)
treeea7cc067a5d9ad2d78c93bb1af5a0c4ce378dda2
parent70ac6b6b55f0423eb9296fbdc7db0d2aa634a601 (diff)
downloadsamba-bd5a0ed2f66454b2d298d7fec6a9ede2ca87aef1.tar.gz
samba-bd5a0ed2f66454b2d298d7fec6a9ede2ca87aef1.tar.bz2
samba-bd5a0ed2f66454b2d298d7fec6a9ede2ca87aef1.zip
r2605: Fix stupid typo in back-port of Samba4 fix.
Jeremy. (This used to be commit ca9516520ffe007a7dccd4d6cbf1c5d77fc4ce29)
-rw-r--r--source3/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
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