Changeset 3396


Ignore:
Timestamp:
Oct 13, 2007, 2:07:08 PM (9 years ago)
Author:
charles
Message:

fix crash-on-adding-new-torrents introduced in r3387

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fastresume.c

    r3390 r3396  
    527527    assert( uncheckedPieces != NULL );
    528528
     529    /* initialize the fallback values */
     530    tor->destination = tr_strdup( fallbackDestination );
     531
    529532    /* Open resume file */
    530533    fastResumeFileName( path, sizeof path, tor, 1 );
     
    547550    tr_dbg( "Resume file '%s' loaded", path );
    548551
    549     tor->destination = tr_strdup( fallbackDestination );
    550 
    551552    /* Check format version */
    552553    fread( &version, 4, 1, file );
Note: See TracChangeset for help on using the changeset viewer.