]> git.tdb.fi Git - xinema.git/commitdiff
Remove a debug print
authorMikko Rasa <tdb@tdb.fi>
Thu, 15 Oct 2015 23:15:08 +0000 (02:15 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 15 Oct 2015 23:15:08 +0000 (02:15 +0300)
source/networkinterface.cpp

index 1bf7b4a8e159bfc004d951e48e8dd2a02f9fa7df..e5283b6ff96791c068b334e0a42ea1a0d102ad91 100644 (file)
@@ -6,8 +6,6 @@
 using namespace std;
 using namespace Msp;
 
-#include <msp/io/print.h>
-
 NetworkInterface::NetworkInterface(Xinema &x):
        xinema(x)
 {
@@ -46,7 +44,6 @@ void NetworkInterface::discover_request()
        Net::SockAddr *peer_addr;
        char rbuf[1024];
        discover_sock->recvfrom(rbuf, sizeof(rbuf), peer_addr);
-       IO::print("Discovery beacon received from %s\n", peer_addr->str());
        discover_sock->sendto("xinema", 6, *peer_addr);
        delete peer_addr;
 }