mirror of
https://github.com/samba-team/samba.git
synced 2025-08-26 01:49:31 +03:00
committed by
Gerald (Jerry) Carter
parent
c430730f5a
commit
22a345deed
@ -57,8 +57,6 @@ yet and it may be in use by a response record
|
||||
|
||||
void close_subnet(struct subnet_record *subrec)
|
||||
{
|
||||
DLIST_REMOVE(subnetlist, subrec);
|
||||
|
||||
if (subrec->dgram_sock != -1) {
|
||||
close(subrec->dgram_sock);
|
||||
subrec->dgram_sock = -1;
|
||||
@ -67,6 +65,8 @@ void close_subnet(struct subnet_record *subrec)
|
||||
close(subrec->nmb_sock);
|
||||
subrec->nmb_sock = -1;
|
||||
}
|
||||
|
||||
DLIST_REMOVE(subnetlist, subrec);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Reference in New Issue
Block a user