summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-07-18 21:50:20 +0000
committerAndrew Tridgell <tridge@samba.org>2001-07-18 21:50:20 +0000
commite8c2eeb0d88795f7357a2646d98557cf445546a3 (patch)
treebbf30be511a97c27af4c86584bc9f1fd6cf847f7 /source3/nsswitch/winbindd.c
parent45635a4a799f9f6efbcb8d021bec60a2eb479808 (diff)
downloadsamba-e8c2eeb0d88795f7357a2646d98557cf445546a3.tar.gz
samba-e8c2eeb0d88795f7357a2646d98557cf445546a3.tar.bz2
samba-e8c2eeb0d88795f7357a2646d98557cf445546a3.zip
the nss and pam modules in winbind don't have strchr_m() yet, so use
strchr() for the moment (This used to be commit c2c1f2027e6e623bba59610e3aa41618773e6361)
Diffstat (limited to 'source3/nsswitch/winbindd.c')
-rw-r--r--source3/nsswitch/winbindd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index b81d60dc66..0824b77294 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -689,7 +689,7 @@ int main(int argc, char **argv)
char *p;
fstrcpy(global_myname, myhostname());
- p = strchr_m(global_myname, '.');
+ p = strchr(global_myname, '.');
if (p) {
*p = 0;
}