X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=src%2Flibswift%2Fchannel.cpp;h=ef30addc05e2e26852b61b6daa24fd9c8e01c294;hb=45ee60cc6bc8ba52c1dbc4784cf61291a90c97f9;hp=53130959014c7a76c8acaf9f485a5e77f5d1cef7;hpb=93cdd6985320d3cf133ee08fde64dafa04d2d1b6;p=swifty.git diff --git a/src/libswift/channel.cpp b/src/libswift/channel.cpp index 5313095..ef30add 100644 --- a/src/libswift/channel.cpp +++ b/src/libswift/channel.cpp @@ -322,11 +322,7 @@ int Channel::RecvFrom (evutil_socket_t sock, Address& addr, struct evbuffer **ev print_error("error on recv"); } length = 0; - printf("Received from %d addresses in one system call.\n", addr.addr->count); for (int i=0; icount; ++i) { - struct in_addr aux; - aux.s_addr = addr.addr->dests[i].addr; - printf("Received from %s, %d bytes\n", inet_ntoa(aux), addr.addr->dests[i].bytes); length += addr.addr->dests[i].bytes; vec[i].iov_len = addr.addr->dests[i].bytes; if (evbuffer_commit_space(evb[i], &vec[i], 1) < 0) {