(trunk libT) whoops, remove 4 debugging fprintf()'s from the previous commit
This commit is contained in:
parent
83c0e4f011
commit
7445be9a53
|
@ -130,8 +130,6 @@ canReadWrapper( tr_peerIo * io )
|
||||||
|
|
||||||
dbgmsg( io, "canRead" );
|
dbgmsg( io, "canRead" );
|
||||||
|
|
||||||
fprintf( stderr, "[%p] in canRead; refcount is %d (%s:%d)\n", io, io->refCount, __FILE__, __LINE__ );
|
|
||||||
|
|
||||||
tr_peerIoRef( io );
|
tr_peerIoRef( io );
|
||||||
|
|
||||||
session = io->session;
|
session = io->session;
|
||||||
|
@ -570,7 +568,6 @@ tr_peerIoNew( tr_session * session,
|
||||||
else {
|
else {
|
||||||
UTP_SetSockopt( utp_socket, SO_RCVBUF, UTP_READ_BUFFER_SIZE );
|
UTP_SetSockopt( utp_socket, SO_RCVBUF, UTP_READ_BUFFER_SIZE );
|
||||||
dbgmsg( io, "%s", "calling UTP_SetCallbacks &utp_function_table" );
|
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_SetCallbacks( utp_socket,
|
||||||
&utp_function_table,
|
&utp_function_table,
|
||||||
io );
|
io );
|
||||||
|
@ -724,7 +721,6 @@ io_close_socket( tr_peerIo * io )
|
||||||
|
|
||||||
#ifdef WITH_UTP
|
#ifdef WITH_UTP
|
||||||
if( io->utp_socket ) {
|
if( io->utp_socket ) {
|
||||||
fprintf( stderr, "[%p] clearing utp callbacks (%s:%d)\n", io, __FILE__, __LINE__ );
|
|
||||||
UTP_SetCallbacks( io->utp_socket,
|
UTP_SetCallbacks( io->utp_socket,
|
||||||
&dummy_utp_function_table,
|
&dummy_utp_function_table,
|
||||||
NULL );
|
NULL );
|
||||||
|
|
|
@ -428,7 +428,6 @@ tr_peerDestruct( tr_torrent * tor, tr_peer * peer )
|
||||||
tr_peerMsgsFree( peer->msgs );
|
tr_peerMsgsFree( peer->msgs );
|
||||||
|
|
||||||
if( peer->io ) {
|
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_peerIoClear( peer->io );
|
||||||
tr_peerIoUnref( peer->io ); /* balanced by the ref in handshakeDoneCB() */
|
tr_peerIoUnref( peer->io ); /* balanced by the ref in handshakeDoneCB() */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue