diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-08-19 11:37:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:10 -0500 |
commit | f42f0612364045702cea7e66cacd24aa20ecb54e (patch) | |
tree | b2c97a7025dd0888d31af9c7fb48f21d1d34efbb /source4/libcli | |
parent | f547d2c4c39c976b85c2761aa3dde25fe1ab1321 (diff) | |
download | samba-f42f0612364045702cea7e66cacd24aa20ecb54e.tar.gz samba-f42f0612364045702cea7e66cacd24aa20ecb54e.tar.bz2 samba-f42f0612364045702cea7e66cacd24aa20ecb54e.zip |
r1910: this should not be a local var in this block
metze
(This used to be commit 0164cac6df46ca5996aae30b8c48a602999f7e0b)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/raw/clisocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/clisocket.c b/source4/libcli/raw/clisocket.c index b09bebf133..343904999a 100644 --- a/source4/libcli/raw/clisocket.c +++ b/source4/libcli/raw/clisocket.c @@ -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; } |