From 5a2b87d810da14d392ff44cab439773dccce43e8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 4 Jul 2001 07:39:01 +0000 Subject: missed a couple of strchr calls (This used to be commit 57e7df8ae58020ab653307c1fdfbadd44983e900) --- source3/rpcclient/rpcclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpcclient') diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 6e4d60d208..e66b15bb11 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -132,7 +132,7 @@ static void read_authfile ( /* break up the line into parameter & value. will need to eat a little whitespace possibly */ param = buf; - if (!(ptr = strchr (buf, '='))) + if (!(ptr = strchr_m(buf, '='))) continue; val = ptr+1; *ptr = '\0'; -- cgit