From: Michael Poole Date: Tue, 6 Jun 2006 00:36:17 +0000 (+0000) Subject: Clear "DNS request pending" flag when aborting a DNS lookup. X-Git-Url: http://git.pk910.de/?a=commitdiff_plain;h=b351378c5d7ce1d4eae65c10694552e5e2da5530;p=ircu2.10.12-pk.git Clear "DNS request pending" flag when aborting a DNS lookup. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1662 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ChangeLog b/ChangeLog index 0d0d6f7..ba89165 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-05 Michael Poole + + * ircd/s_auth.c (auth_timeout_callback): Clear AR_DNS_PENDING when + destroying the lookup and reporting DNS failure. + 2006-05-28 Michael Poole * doc/readme.features (MAXBANS): Update default value. @@ -6,7 +11,7 @@ * ircd/m_stats.c (m_stats): Describe the intention so that there are not further questions about local opers and remote /stats. - Fix places that use cptr instead of cptr. + Fix places that use cptr instead of sptr. 2006-05-24 Michael Poole diff --git a/ircd/s_auth.c b/ircd/s_auth.c index 749dbf4..33e2242 100644 --- a/ircd/s_auth.c +++ b/ircd/s_auth.c @@ -792,6 +792,7 @@ static void auth_timeout_callback(struct Event* ev) /* Likewise if dns lookup failed. */ if (FlagHas(&auth->flags, AR_DNS_PENDING)) { + FlagClr(&auth->flags, AR_DNS_PENDING); delete_resolver_queries(auth); if (IsUserPort(auth->client)) sendheader(auth->client, REPORT_FAIL_DNS);