1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

r1910: this should not be a local var in this block

metze
This commit is contained in:
Stefan Metzmacher 2004-08-19 11:37:36 +00:00 committed by Gerald (Jerry) Carter
parent e9e5fb2cb0
commit 0164cac6df

View File

@ -65,7 +65,7 @@ BOOL smbcli_sock_connect(struct smbcli_socket *sock, struct in_addr *ip, int por
int i;
const char **ports = lp_smb_ports();
for (i=0;ports[i];i++) {
int port = atoi(ports[i]);
port = atoi(ports[i]);
if (port != 0 && smbcli_sock_connect(sock, ip, port)) {
return True;
}