Changeset 7704


Ignore:
Timestamp:
Jan 13, 2009, 5:32:08 AM (12 years ago)
Author:
charles
Message:

(1.5x daemon) #1671: transmission-remote --get option not including all files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5x/daemon/remote.c

    r7664 r7704  
    228228    if( strcmp( arg, "all" ) )
    229229    {
    230         const char * walk = arg;
    231         while( *walk )
    232         {
    233             char *        p;
    234             unsigned long l;
    235             errno = 0;
    236             l = strtol( walk, &p, 10 );
    237             if( errno )
    238                 break;
    239             tr_bencListAddInt( files, l - 1 );
    240             if( *p != ',' )
    241                 break;
    242             walk = p + 1;
    243         }
     230        tr_rpc_parse_list_str( files, arg, strlen( arg ) );
    244231    }
    245232}
Note: See TracChangeset for help on using the changeset viewer.