From 7445be9a538b68fb314b11125637606647d9dddb Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Mon, 28 Mar 2011 16:33:40 +0000 Subject: [PATCH] (trunk libT) whoops, remove 4 debugging fprintf()'s from the previous commit --- libtransmission/peer-io.c | 4 ---- libtransmission/peer-mgr.c | 1 - 2 files changed, 5 deletions(-) diff --git a/libtransmission/peer-io.c b/libtransmission/peer-io.c index bf690fffe..0ca98a9e7 100644 --- a/libtransmission/peer-io.c +++ b/libtransmission/peer-io.c @@ -130,8 +130,6 @@ canReadWrapper( tr_peerIo * io ) dbgmsg( io, "canRead" ); -fprintf( stderr, "[%p] in canRead; refcount is %d (%s:%d)\n", io, io->refCount, __FILE__, __LINE__ ); - tr_peerIoRef( io ); session = io->session; @@ -570,7 +568,6 @@ tr_peerIoNew( tr_session * session, else { UTP_SetSockopt( utp_socket, SO_RCVBUF, UTP_READ_BUFFER_SIZE ); dbgmsg( io, "%s", "calling UTP_SetCallbacks &utp_function_table" ); -fprintf( stderr, "[%p] setting utp callbacks (%s:%d)\n", io, __FILE__, __LINE__ ); UTP_SetCallbacks( utp_socket, &utp_function_table, io ); @@ -724,7 +721,6 @@ io_close_socket( tr_peerIo * io ) #ifdef WITH_UTP if( io->utp_socket ) { -fprintf( stderr, "[%p] clearing utp callbacks (%s:%d)\n", io, __FILE__, __LINE__ ); UTP_SetCallbacks( io->utp_socket, &dummy_utp_function_table, NULL ); diff --git a/libtransmission/peer-mgr.c b/libtransmission/peer-mgr.c index 80345a8ae..b4f4068a5 100644 --- a/libtransmission/peer-mgr.c +++ b/libtransmission/peer-mgr.c @@ -428,7 +428,6 @@ tr_peerDestruct( tr_torrent * tor, tr_peer * peer ) tr_peerMsgsFree( peer->msgs ); if( peer->io ) { -fprintf( stderr, "[%p] peer %p clearing/unreffing its io (%s:%d)\n", peer->io, peer, __FILE__, __LINE__ ); tr_peerIoClear( peer->io ); tr_peerIoUnref( peer->io ); /* balanced by the ref in handshakeDoneCB() */ }