Permalink
Browse files

update the clock because we now make decisions on absolutely correct …

…times
  • Loading branch information...
1 parent 8373ac0 commit 4c4765c104bacc146533217bcc843efb244a8086 @ahupowerdns ahupowerdns committed Jan 22, 2015
Showing with 2 additions and 1 deletion.
  1. +2 −1 pdns/lwres.cc
View
@@ -81,7 +81,8 @@ int asyncresolve(const ComboAddress& ip, const string& domain, int type, bool do
int ret;
DTime dt;
- dt.setTimeval(*now);
+ dt.set();
+ *now=dt.getTimeval();
errno=0;
if(!doTCP) {
int queryfd;

0 comments on commit 4c4765c

Please sign in to comment.