Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/patches-2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Feb 16, 2012
2 parents a37cbfd + bec5068 commit a63ed16
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion evdns.c
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,12 @@ reply_handle(struct request *const req, u16 flags, u32 ttl, struct reply *reply)
addrbuf, sizeof(addrbuf)));
break;
default:
/* we got a good reply from the nameserver */
/* we got a good reply from the nameserver: it is up. */
if (req->handle == req->ns->probe_request) {
/* Avoid double-free */
req->ns->probe_request = NULL;
}

nameserver_up(req->ns);
}

Expand Down

0 comments on commit a63ed16

Please sign in to comment.