diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-26 21:57:29 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-26 21:57:29 +0000 |
commit | 3e0501082cc5e5715dd315f890560a5759331df3 (patch) | |
tree | 0497a79bdd80f62cff0e746a26e33bc7d451355b | |
parent | 1ca1b85c4c0bcf3315ef82316289fe03ecf11737 (diff) | |
download | samba-3e0501082cc5e5715dd315f890560a5759331df3.tar.gz samba-3e0501082cc5e5715dd315f890560a5759331df3.tar.xz samba-3e0501082cc5e5715dd315f890560a5759331df3.zip |
fixed default port handling pointed out by Tom Jansen
(This used to be commit 8246e6ca0bd0eaa92de602db46a119d368e93391)
-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 6ccdeef3667..f596cba8548 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; |