mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
shut up some more console messages
This commit is contained in:
parent
3e61f44cdd
commit
7caf9550df
2 changed files with 3 additions and 8 deletions
|
@ -320,7 +320,6 @@ recheckThreadFunc( void * unused UNUSED )
|
|||
struct recheck_node * node;
|
||||
|
||||
tr_lockLock( getRecheckLock( ) );
|
||||
fprintf( stderr, "popping `node' from recheckList\n" );
|
||||
node = (struct recheck_node*) recheckList ? recheckList->data : NULL;
|
||||
if( node == NULL )
|
||||
break;
|
||||
|
@ -364,7 +363,6 @@ recheckThreadFunc( void * unused UNUSED )
|
|||
fireCheckDone( tor, currentNode.recheck_done_cb, currentNode.status_when_done );
|
||||
}
|
||||
|
||||
fprintf( stderr, "setting old recheck thread to NULL because the queue is empty\n" );
|
||||
recheckThread = NULL;
|
||||
tr_lockUnlock( getRecheckLock( ) );
|
||||
}
|
||||
|
@ -379,15 +377,12 @@ tr_ioRecheckAdd( tr_torrent * tor,
|
|||
node->torrent = tor;
|
||||
node->recheck_done_cb = recheck_done_cb;
|
||||
node->status_when_done = status_when_done;
|
||||
fprintf( stderr, "appending `node' to recheckList\n" );
|
||||
|
||||
tr_lockLock( getRecheckLock( ) );
|
||||
tr_list_append( &recheckList, node );
|
||||
tor->runStatus = TR_RUN_CHECKING_WAIT;
|
||||
if( recheckThread == NULL ) {
|
||||
fprintf( stderr, "creating new recheck thread\n" );
|
||||
if( recheckThread == NULL )
|
||||
recheckThread = tr_threadNew( recheckThreadFunc, NULL, "recheckThreadFunc" );
|
||||
}
|
||||
tr_lockUnlock( getRecheckLock( ) );
|
||||
}
|
||||
|
||||
|
|
|
@ -822,7 +822,7 @@ tr_peerMgrSetBlame( tr_peerMgr * manager UNUSED,
|
|||
int pieceIndex UNUSED,
|
||||
int success UNUSED )
|
||||
{
|
||||
fprintf( stderr, "FIXME: tr_peerMgrSetBlame\n" );
|
||||
/*fprintf( stderr, "FIXME: tr_peerMgrSetBlame\n" );*/
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -1256,7 +1256,7 @@ reconnectPulse( void * vt UNUSED )
|
|||
|
||||
/* initiate a connection to the peer */
|
||||
io = tr_peerIoNewOutgoing( manager->handle, &peer->in_addr, peer->port, t->hash );
|
||||
fprintf( stderr, "[%s] connecting to potential peer %s\n", t->tor->info.name, tr_peerIoGetAddrStr(io) );
|
||||
/*fprintf( stderr, "[%s] connecting to potential peer %s\n", t->tor->info.name, tr_peerIoGetAddrStr(io) );*/
|
||||
peer->connectionChangedAt = time( NULL );
|
||||
initiateHandshake( manager, io );
|
||||
--left;
|
||||
|
|
Loading…
Reference in a new issue