Always uppercase cli->srv_name_slash.
authorGünther Deschner <gd@samba.org>
Thu, 3 Apr 2008 23:44:43 +0000 (01:44 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 3 Apr 2008 23:44:43 +0000 (01:44 +0200)
Not that I think it is of any importance...

Guenther
(This used to be commit 352f8440c74bc22416e21783e1dc5fecf5869902)

source3/libsmb/cliconnect.c

index 5e8a586cd05a5e985fd0b7009f4ab2367996968e..8bdc284693f7c4f9bec88b37c2398ffb5d8fc074 100644 (file)
@@ -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, '#'))) {