Ignore:
Timestamp:
Oct 26, 2007, 3:02:23 AM (15 years ago)
Author:
charles
Message:

Quick & dirty fix to crasher ticket #415.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.c

    r3492 r3572  
    328328tr_torrent **
    329329tr_loadTorrents ( tr_handle   * h,
    330                   const char  * destination,
     330                  const char  * fallbackDestination,
    331331                  int           isPaused,
    332332                  int         * setmeCount )
     
    351351                char path[MAX_PATH_LENGTH];
    352352                tr_buildPath( path, sizeof(path), torrentDir, d->d_name, NULL );
    353                 tor = tr_torrentInit( h, path, destination, isPaused, NULL );
     353                tor = tr_torrentLoad( h, path, fallbackDestination, isPaused, NULL );
    354354                if( tor != NULL ) {
    355355                    tr_list_append( &list, tor );
Note: See TracChangeset for help on using the changeset viewer.