From: Günther Deschner Date: Thu, 3 Apr 2008 23:44:43 +0000 (+0200) Subject: Always uppercase cli->srv_name_slash. X-Git-Tag: samba-3.3.0pre1~2914 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=352f8440c74bc22416e21783e1dc5fecf5869902;p=thirdparty%2Fsamba.git Always uppercase cli->srv_name_slash. Not that I think it is of any importance... Guenther --- diff --git a/source/libsmb/cliconnect.c b/source/libsmb/cliconnect.c index 5e8a586cd05..8bdc284693f 100644 --- a/source/libsmb/cliconnect.c +++ b/source/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, '#'))) {