]> granicus.if.org Git - pdns/commitdiff
small cleanup of unintended changes
authorbert hubert <bert.hubert@powerdns.com>
Sun, 18 Oct 2015 11:08:50 +0000 (13:08 +0200)
committerbert hubert <bert.hubert@powerdns.com>
Sun, 18 Oct 2015 11:08:50 +0000 (13:08 +0200)
pdns/dumresp.cc
pdns/misc.cc

index 864f774de19e761a3dc103f0aac8721996cdc432..129f9753ba7c3ca71e0fdbf6c83993aaa80ff253 100644 (file)
@@ -39,7 +39,7 @@ try
     len=recvfrom(s.getHandle(), buffer, sizeof(buffer), 0, (struct sockaddr*)&rem, &socklen);
     if(len < 0)
       unixDie("recvfrom");
-    cout<<"Had packet: "<<string(buffer, len)<<endl;
+
     if(dh->qr)
       continue;
     dh->qr=1;
index 72f893396eba77512a7f70d2e78f8d9cc1be0351..16dcab4bf9e166e06ed46132c434ca874cc438a6 100644 (file)
 
 bool g_singleThreaded;
 
-void sometests()
-{
-  vector<std::unique_ptr<int>> vec;
-  vec.push_back(make_unique<int>(12));
-}
-
 int writen2(int fd, const void *buf, size_t count)
 {
   const char *ptr = (char*)buf;