From e8c2eeb0d88795f7357a2646d98557cf445546a3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 18 Jul 2001 21:50:20 +0000 Subject: 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) --- source3/nsswitch/winbindd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd.c') 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; } -- cgit