diff options
author | Günther Deschner <gd@samba.org> | 2008-04-04 01:44:43 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-04 01:44:43 +0200 |
commit | 69b23a39cde21989946fc9f44defec6d2302b5da (patch) | |
tree | c57623e63e5c2c0f2156f03ad193e48ebc1cda4b /source3 | |
parent | be9b46b2ce3216e72d2c333230bb643a4a8b5938 (diff) | |
download | samba-69b23a39cde21989946fc9f44defec6d2302b5da.tar.gz samba-69b23a39cde21989946fc9f44defec6d2302b5da.tar.bz2 samba-69b23a39cde21989946fc9f44defec6d2302b5da.zip |
Always uppercase cli->srv_name_slash.
Not that I think it is of any importance...
Guenther
(This used to be commit 352f8440c74bc22416e21783e1dc5fecf5869902)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/cliconnect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 5e8a586cd0..8bdc284693 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -1486,6 +1486,7 @@ NTSTATUS cli_connect(struct cli_state *cli, fstrcpy(cli->desthost, host); fstr_sprintf(cli->srv_name_slash, "\\\\%s", cli->desthost); + strupper_m(cli->srv_name_slash); /* allow hostnames of the form NAME#xx and do a netbios lookup */ if ((p = strchr(cli->desthost, '#'))) { |