diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-10-02 14:58:54 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-10-02 14:58:54 +0000 |
commit | 4cf8157ee92b503022bd8e646df5fa09e047d642 (patch) | |
tree | 5660eefe1eca2bf1c9bae2601cb1cf76a452f9d4 /source3/sam/interface.c | |
parent | 83e4c6ea4b27ce4645acea34c3184f8bb30c8e93 (diff) | |
download | samba-4cf8157ee92b503022bd8e646df5fa09e047d642.tar.gz samba-4cf8157ee92b503022bd8e646df5fa09e047d642.tar.bz2 samba-4cf8157ee92b503022bd8e646df5fa09e047d642.zip |
strchr -> strrchr
(This used to be commit 598039599ca7c38a42ae75cf345c01b3cf3881ff)
Diffstat (limited to 'source3/sam/interface.c')
-rw-r--r-- | source3/sam/interface.c | 2 |
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); |