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:
parent
e9e5fb2cb0
commit
0164cac6df
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user