summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-03 21:17:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-03 21:17:19 +0000
commit8a623fbec416116a746029d34c4584cd2ea30fff (patch)
tree947fdeb8f34ce8a2ad7f6255c17d4491ae3678f8 /src
parentb276a1a0554561dd0cefbad69863b37419124e59 (diff)
Tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4688 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/dns.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index e7bd99be7..ea88c21bc 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -257,7 +257,7 @@ DNS::DNS()
if (insp_aton(Config->DNSServer,&addr) > 0)
{
memcpy(&myserver,&addr,sizeof(insp_inaddr));
- log(DEBUG,"Added nameserver '%s'",inet_ntoa(myserver));
+ log(DEBUG,"Added nameserver '%s'",Config->DNSServer);
}
else
{
@@ -864,6 +864,7 @@ int Resolver::GetId()
/* Process a socket read event */
void DNS::MarshallReads(int fd)
{
+ log(DEBUG,"Marshall reads: %d %d",fd,GetMasterSocket());
/* We are only intrested in our single fd */
if (fd == GetMasterSocket())
{