(trunk daemon) #3508 "transmission-remote --download-dir doesn't work properly" -- fixed.

This commit is contained in:
Charles Kerr 2010-09-24 14:23:58 +00:00
parent 7f6cfb3c24
commit e598d4c198
1 changed files with 1 additions and 0 deletions

View File

@ -1802,6 +1802,7 @@ processArgs( const char * host, int port, int argc, const char ** argv )
switch( c )
{
case 'a': /* add torrent */
if( sset != 0 ) status |= flush( host, port, &sset );
if( tadd != 0 ) status |= flush( host, port, &tadd );
if( tset != 0 ) { addIdArg( tr_bencDictFind( tset, ARGUMENTS ), id ); status |= flush( host, port, &tset ); }
tadd = tr_new0( tr_benc, 1 );