1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

fixed default port handling pointed out by Tom Jansen

(This used to be commit 8246e6ca0bd0eaa92de602db46a119d368e93391)
This commit is contained in:
Andrew Tridgell 2003-11-26 21:57:29 +00:00
parent 1ca1b85c4c
commit 3e0501082c

View File

@ -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;