IdentLookup::checkForAsync() should only set asyncInProgress(true)
when actually doing the non-blocking ident lookup.
void
IdentLookup::checkForAsync(ACLChecklist *checklist)const
{
- checklist->asyncInProgress(true);
- debug(28, 3) ("IdentLookup::checkForAsync: Doing ident lookup\n");
-
if (checklist->conn().getRaw() != NULL) {
+ debug(28, 3) ("IdentLookup::checkForAsync: Doing ident lookup\n");
+ checklist->asyncInProgress(true);
identStart(&checklist->conn()->me, &checklist->conn()->peer,
LookupDone, checklist);
} else {