summaryrefslogtreecommitdiff
path: root/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra')
-rw-r--r--modules/extra/dns.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/dns.h b/modules/extra/dns.h
index 4eba1630c..469bb0e82 100644
--- a/modules/extra/dns.h
+++ b/modules/extra/dns.h
@@ -56,7 +56,7 @@ namespace DNS
ERROR_NONE,
ERROR_UNKNOWN,
ERROR_UNLOADED,
- ERROR_TIMEOUT,
+ ERROR_TIMEDOUT,
ERROR_NOT_AN_ANSWER,
ERROR_NONSTANDARD_QUERY,
ERROR_FORMAT_ERROR,
@@ -166,7 +166,7 @@ namespace DNS
{
Log(LOG_DEBUG_2) << "Resolver: timeout for query " << this->name;
Query rr(*this);
- rr.error = ERROR_TIMEOUT;
+ rr.error = ERROR_TIMEDOUT;
this->OnError(&rr);
}
};