diff --git a/daemon/remote.c b/daemon/remote.c index 3775d0394..fbc0e1586 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -861,8 +861,8 @@ printDetails( tr_benc * top ) printf( " Name: %s\n", str ); if( tr_bencDictFindStr( t, "hashString", &str ) ) printf( " Hash: %s\n", str ); - if( tr_bencDictFindStr( t, "magnetLink", &str ) ) - printf( " Magnet: %s\n", str ); + if( tr_bencDictFindStr( t, "magnetLink", &str ) ) + printf( " Magnet: %s\n", str ); printf( "\n" ); printf( "TRANSFER\n" ); diff --git a/gtk/open-dialog.c b/gtk/open-dialog.c index 05cddddb4..9c8816d57 100644 --- a/gtk/open-dialog.c +++ b/gtk/open-dialog.c @@ -475,7 +475,6 @@ onOpenURLResponse( GtkDialog * dialog, int response, gpointer user_data ) { handled = TRUE; } - if( handled ) gtk_widget_destroy( GTK_WIDGET( dialog ) ); diff --git a/libtransmission/peer-msgs.c b/libtransmission/peer-msgs.c index 7c58b4713..2895e460e 100644 --- a/libtransmission/peer-msgs.c +++ b/libtransmission/peer-msgs.c @@ -1689,8 +1689,8 @@ updateDesiredRequestCount( tr_peermsgs * msgs ) rate_Bps = MIN( rate_Bps, tr_torrentGetSpeedLimit_Bps( torrent, TR_PEER_TO_CLIENT ) ); /* honor the session limits, if enabled */ - if( tr_torrentUsesSessionLimits( torrent ) - && tr_sessionGetActiveSpeedLimit_Bps( torrent->session, TR_PEER_TO_CLIENT, &irate_Bps ) ) + if( tr_torrentUsesSessionLimits( torrent ) && + tr_sessionGetActiveSpeedLimit_Bps( torrent->session, TR_PEER_TO_CLIENT, &irate_Bps ) ) rate_Bps = MIN( rate_Bps, irate_Bps ); /* use this desired rate to figure out how diff --git a/utils/show.c b/utils/show.c index 00789541b..dd75e19d4 100644 --- a/utils/show.c +++ b/utils/show.c @@ -342,7 +342,7 @@ main( int argc, char * argv[] ) if( scrapeFlag ) doScrape( &inf ); - else + else showInfo( &inf ); }