summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-10-02 14:58:54 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-10-02 14:58:54 +0000
commit4cf8157ee92b503022bd8e646df5fa09e047d642 (patch)
tree5660eefe1eca2bf1c9bae2601cb1cf76a452f9d4 /source3/sam
parent83e4c6ea4b27ce4645acea34c3184f8bb30c8e93 (diff)
downloadsamba-4cf8157ee92b503022bd8e646df5fa09e047d642.tar.gz
samba-4cf8157ee92b503022bd8e646df5fa09e047d642.tar.bz2
samba-4cf8157ee92b503022bd8e646df5fa09e047d642.zip
strchr -> strrchr
(This used to be commit 598039599ca7c38a42ae75cf345c01b3cf3881ff)
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/sam/interface.c b/source3/sam/interface.c
index 8e4e0d114b..4f5e565d2e 100644
--- a/source3/sam/interface.c
+++ b/source3/sam/interface.c
@@ -140,7 +140,7 @@ static NTSTATUS make_backend_entry(SAM_BACKEND_ENTRY *backend_entry, char *sam_b
DEBUG(5,("makeing backend_entry for %s\n", backend_entry->module_name));
- if ((tmp = strchr(tmp_string, '|')) != NULL) {
+ if ((tmp = strrchr(tmp_string, '|')) != NULL) {
DEBUGADD(20,("a domain name has been specified\n"));
*tmp = 0;
backend_entry->domain_name = smb_xstrdup(tmp + 1);