summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/torture.c')
-rw-r--r--source3/torture/torture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index a7c50fbfe0..fcf48e0560 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -3233,7 +3233,7 @@ static void usage(void)
}
fstrcpy(host, &argv[1][2]);
- p = strchr(&host[2],'/');
+ p = strchr_m(&host[2],'/');
if (!p) {
usage();
}
@@ -3280,7 +3280,7 @@ static void usage(void)
break;
case 'U':
pstrcpy(username,optarg);
- p = strchr(username,'%');
+ p = strchr_m(username,'%');
if (p) {
*p = 0;
pstrcpy(password, p+1);