mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 21:10:06 -04:00
Merge remote-tracking branch 'origin/patches-2.0'
This commit is contained in:
commit
169eca7b58
2
evdns.c
2
evdns.c
@ -1995,7 +1995,7 @@ server_request_free(struct server_request *req)
|
||||
EVDNS_LOCK(req->port);
|
||||
lock=1;
|
||||
if (req->port->pending_replies == req) {
|
||||
if (req->next_pending)
|
||||
if (req->next_pending && req->next_pending != req)
|
||||
req->port->pending_replies = req->next_pending;
|
||||
else
|
||||
req->port->pending_replies = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user