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:
parent
1ca1b85c4c
commit
3e0501082c
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user