summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-07-04 18:52:31 +0000
committerJeremy Allison <jra@samba.org>2003-07-04 18:52:31 +0000
commitce0709666c2c4a921b3d6e957dfd7d8ca58f6f9d (patch)
tree14eee63b9a402b4b16b6281aaa7f06a6e0fe761d /source3
parent9bcbaeee329cf190a793085a945acb8b20635bb0 (diff)
downloadsamba-ce0709666c2c4a921b3d6e957dfd7d8ca58f6f9d.tar.gz
samba-ce0709666c2c4a921b3d6e957dfd7d8ca58f6f9d.tar.bz2
samba-ce0709666c2c4a921b3d6e957dfd7d8ca58f6f9d.zip
More conversions I missed. Thanks metze.
Jeremy. (This used to be commit 4f78d747e66b38edcd2a5754681f9a01aeaf7864)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/smbmount.c4
-rw-r--r--source3/rpcclient/cmd_wkssvc.c2
-rw-r--r--source3/torture/rpctorture.c8
3 files changed, 7 insertions, 7 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c
index 1ee7dbc8cb..343d4f2675 100644
--- a/source3/client/smbmount.c
+++ b/source3/client/smbmount.c
@@ -891,7 +891,7 @@ static void parse_mount_smb(int argc, char **argv)
got_pass = True;
memset(strchr_m(getenv("USER"),'%')+1,'X',strlen(password));
}
- strupper(username);
+ strupper_m(username);
}
if (getenv("PASSWD")) {
@@ -933,7 +933,7 @@ static void parse_mount_smb(int argc, char **argv)
if (!*my_netbios_name) {
pstrcpy(my_netbios_name, myhostname());
}
- strupper(my_netbios_name);
+ strupper_m(my_netbios_name);
init_mount();
return 0;
diff --git a/source3/rpcclient/cmd_wkssvc.c b/source3/rpcclient/cmd_wkssvc.c
index bb118234c0..137ff3bdae 100644
--- a/source3/rpcclient/cmd_wkssvc.c
+++ b/source3/rpcclient/cmd_wkssvc.c
@@ -44,7 +44,7 @@ void cmd_wks_query_info(struct client_info *info)
fstrcpy(dest_wks, "\\\\");
fstrcat(dest_wks, info->dest_host);
- strupper(dest_wks);
+ strupper_m(dest_wks);
if (next_token_nr(NULL, tmp, NULL, sizeof(tmp)))
{
diff --git a/source3/torture/rpctorture.c b/source3/torture/rpctorture.c
index 086f8d5d33..8dfaebd64f 100644
--- a/source3/torture/rpctorture.c
+++ b/source3/torture/rpctorture.c
@@ -363,7 +363,7 @@ enum client_action
case 'S':
{
pstrcpy(cli_info.dest_host,optarg);
- strupper(cli_info.dest_host);
+ strupper_m(cli_info.dest_host);
cli_action = CLIENT_IPC;
break;
}
@@ -486,7 +486,7 @@ enum client_action
exit(1);
}
- strupper(global_myname);
+ strupper_m(global_myname);
fstrcpy(cli_info.myhostname, global_myname);
DEBUG(3,("%s client started (version %s)\n",timestring(False),VERSION));
@@ -495,7 +495,7 @@ enum client_action
{
pstrcpy(smb_cli->domain,lp_workgroup());
}
- strupper(smb_cli->domain);
+ strupper_m(smb_cli->domain);
load_interfaces();
@@ -506,7 +506,7 @@ enum client_action
}
fstrcpy(cli_info.mach_acct, cli_info.myhostname);
- strupper(cli_info.mach_acct);
+ strupper_m(cli_info.mach_acct);
fstrcat(cli_info.mach_acct, "$");
/* set the password cache info */