More conversions I missed. Thanks metze.
authorJeremy Allison <jra@samba.org>
Fri, 4 Jul 2003 18:52:31 +0000 (18:52 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 4 Jul 2003 18:52:31 +0000 (18:52 +0000)
Jeremy.
(This used to be commit 4f78d747e66b38edcd2a5754681f9a01aeaf7864)

source3/client/smbmount.c
source3/rpcclient/cmd_wkssvc.c
source3/torture/rpctorture.c

index 1ee7dbc8cb93137df242da5983128e8b87e26081..343d4f267576b7b7cf2821f8d9016817763f38ea 100644 (file)
@@ -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;
index bb118234c0db66b1fa5c17c3cbda58fb69cba9d5..137ff3bdae93d09545bd23a43f1fff004c1e84a0 100644 (file)
@@ -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)))
        {
index 086f8d5d3311eef45e42c0fb02e604191864eca8..8dfaebd64fae68eee83667509352b6250edd5eb8 100644 (file)
@@ -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 */