]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- remote.c probedelay line is easier to read.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 26 Mar 2015 09:46:06 +0000 (09:46 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 26 Mar 2015 09:46:06 +0000 (09:46 +0000)
git-svn-id: file:///svn/unbound/trunk@3379 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/remote.c
doc/Changelog

index 894b63fee32d4bd8a650d4a7186ada0cc527dbcd..c3e38ee2b4a3383dd0ae0fc70f03c7b8cc44493d 100644 (file)
@@ -2077,7 +2077,7 @@ dump_infra_host(struct lruhash_entry* e, void* arg)
                d->rtt.srtt, d->rtt.rttvar, rtt_notimeout(&d->rtt), d->rtt.rto,
                d->timeout_A, d->timeout_AAAA, d->timeout_other,
                (int)d->edns_lame_known, (int)d->edns_version,
-               (int)(a->now<d->probedelay?d->probedelay-a->now:0),
+               (int)(a->now<d->probedelay?(d->probedelay - a->now):0),
                (int)d->isdnsseclame, (int)d->rec_lame, (int)d->lame_type_A,
                (int)d->lame_other)) {
                a->ssl_failed = 1;
index d5ee3bb0e92030605c3893d37c11f08dfeac2375..0fd771d7c52b87a49fb6b34c81bfc6a5433df07e 100644 (file)
@@ -1,3 +1,6 @@
+26 March 2015: Wouter
+       - remote.c probedelay line is easier to read.
+
 25 March 2015: Wouter
        - Fix #657:  libunbound(3) recommends deprecated
          CRYPTO_set_id_callback.