From 3e0501082cc5e5715dd315f890560a5759331df3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 26 Nov 2003 21:57:29 +0000 Subject: fixed default port handling pointed out by Tom Jansen (This used to be commit 8246e6ca0bd0eaa92de602db46a119d368e93391) --- 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 6ccdeef366..f596cba854 100644 --- a/source4/libcli/raw/clisocket.c +++ b/source4/libcli/raw/clisocket.c @@ -41,7 +41,7 @@ struct cli_socket *cli_sock_init(void) sock->mem_ctx = mem_ctx; sock->fd = -1; - sock->port = 445; + sock->port = 0; /* 20 second default timeout */ sock->timeout = 20000; -- cgit