From e0c04879f28f577ce0cc8e8b525c33c30ed7c767 Mon Sep 17 00:00:00 2001 From: Bert Hubert Date: Tue, 16 Sep 2003 10:52:12 +0000 Subject: [PATCH] small changes git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@184 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- pdns/dnsproxy.cc | 2 +- pdns/dnsproxy.hh | 2 +- pdns/syncres.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pdns/dnsproxy.cc b/pdns/dnsproxy.cc index 675c299e3..e5a5f5a43 100644 --- a/pdns/dnsproxy.cc +++ b/pdns/dnsproxy.cc @@ -103,7 +103,7 @@ bool DNSProxy::sendPacket(DNSPacket *p) if(!recurseFor(p)) return false; - int id; + u_int16_t id; { Lock l(&d_lock); id=getID_locked(); diff --git a/pdns/dnsproxy.hh b/pdns/dnsproxy.hh index 5ee5bd182..4f5fd5ecc 100644 --- a/pdns/dnsproxy.hh +++ b/pdns/dnsproxy.hh @@ -71,7 +71,7 @@ private: int* d_udpanswers; int* d_resquestions; pthread_mutex_t d_lock; - u_int32_t d_xor; + u_int16_t d_xor; int getID_locked(); struct ConntrackEntry { diff --git a/pdns/syncres.cc b/pdns/syncres.cc index 3d3fc0104..fef871504 100644 --- a/pdns/syncres.cc +++ b/pdns/syncres.cc @@ -111,7 +111,7 @@ void SyncRes::getBestNSFromCache(const string &qname, set&bes if(!endsOn(k->content,subdomain) || getCache(k->content,QType(QType::A),&aset) > 5) { bestns.insert(*k); LOG< '"<content<<"'"<content,subdomain); + LOG<content,subdomain)<