mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 17:49:52 +01:00
(trunk daemon) #3324 "'transmission-remote --add' has no output/status messages" -- fixed.
This commit is contained in:
+3
-4
@@ -1632,6 +1632,9 @@ processResponse( const char * host, int port, const void * response, size_t len
|
||||
case TAG_PORTTEST:
|
||||
printPortTest( &top ); break;
|
||||
|
||||
case TAG_TRACKERS:
|
||||
printTrackers( &top ); break;
|
||||
|
||||
case TAG_TORRENT_ADD: {
|
||||
int64_t i;
|
||||
tr_benc * b = ⊤
|
||||
@@ -1641,10 +1644,6 @@ processResponse( const char * host, int port, const void * response, size_t len
|
||||
tr_snprintf( id, sizeof(id), "%"PRId64, i );
|
||||
/* fall-through to default: to give success or failure msg */
|
||||
}
|
||||
|
||||
case TAG_TRACKERS:
|
||||
printTrackers( &top ); break;
|
||||
|
||||
default:
|
||||
if( !tr_bencDictFindStr( &top, "result", &str ) )
|
||||
status |= EXIT_FAILURE;
|
||||
|
||||
Reference in New Issue
Block a user