summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-07-04 07:39:01 +0000
committerAndrew Tridgell <tridge@samba.org>2001-07-04 07:39:01 +0000
commit5a2b87d810da14d392ff44cab439773dccce43e8 (patch)
tree90c06d2f4a19cd1474ba62b27d62475b4ba2c637 /source3/lib
parent527e824293ee934ca5da0ef5424efe5ab7757248 (diff)
downloadsamba-5a2b87d810da14d392ff44cab439773dccce43e8.tar.gz
samba-5a2b87d810da14d392ff44cab439773dccce43e8.tar.bz2
samba-5a2b87d810da14d392ff44cab439773dccce43e8.zip
missed a couple of strchr calls
(This used to be commit 57e7df8ae58020ab653307c1fdfbadd44983e900)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/cmd_interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/cmd_interp.c b/source3/lib/cmd_interp.c
index 292f0e9e9e..52f025636a 100644
--- a/source3/lib/cmd_interp.c
+++ b/source3/lib/cmd_interp.c
@@ -895,7 +895,7 @@ static void read_authfile (char *filename, char* username, char* password)
/* 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';