summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-19 11:37:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:10 -0500
commitf42f0612364045702cea7e66cacd24aa20ecb54e (patch)
treeb2c97a7025dd0888d31af9c7fb48f21d1d34efbb /source4/libcli
parentf547d2c4c39c976b85c2761aa3dde25fe1ab1321 (diff)
downloadsamba-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.c2
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;
}