From f42f0612364045702cea7e66cacd24aa20ecb54e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 19 Aug 2004 11:37:36 +0000 Subject: r1910: this should not be a local var in this block metze (This used to be commit 0164cac6df46ca5996aae30b8c48a602999f7e0b) --- source4/libcli/raw/clisocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli') 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; } -- cgit