mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
parent
ba6c78c355
commit
1eb484d4b4
@ -676,11 +676,18 @@ static bool open_sockets(bool isdaemon, int port)
|
||||
ClientNMB = 0;
|
||||
}
|
||||
|
||||
if (ClientNMB == -1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
ClientDGRAM = open_socket_in(SOCK_DGRAM, DGRAM_PORT,
|
||||
3, &ss,
|
||||
true);
|
||||
|
||||
if (ClientNMB == -1) {
|
||||
if (ClientDGRAM == -1) {
|
||||
if (ClientNMB != 0) {
|
||||
close(ClientNMB);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user