mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-20 17:42:09 -04:00
when code is duplicated (which it shouldn't be), it should at
least be duplicated consistently
This commit is contained in:
parent
5f7a9845e9
commit
0833ef954a
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: socket.c,v 1.174 2000/12/06 01:53:38 bwelling Exp $ */
|
||||
/* $Id: socket.c,v 1.175 2000/12/19 19:19:45 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -2434,11 +2434,11 @@ isc_socket_recv(isc_socket_t *sock, isc_region_t *region, unsigned int minimum,
|
|||
dev->region = *region;
|
||||
dev->ev_sender = task;
|
||||
|
||||
was_empty = ISC_LIST_EMPTY(sock->recv_list);
|
||||
|
||||
/*
|
||||
* If the read queue is empty, try to do the I/O right now.
|
||||
*/
|
||||
was_empty = ISC_LIST_EMPTY(sock->recv_list);
|
||||
if (!was_empty)
|
||||
goto queue;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue