missed a couple of strchr calls
[sfrench/samba-autobuild/.git] / source3 / rpcclient / rpcclient.c
index 6e4d60d208ec9a2082fd6c5b07be000e58b663ff..e66b15bb11e7b13af9dee5eeebfdc0a294956626 100644 (file)
@@ -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';