Ignore:
Timestamp:
Oct 16, 2007, 2:19:40 AM (15 years ago)
Author:
charles
Message:

maybe fix crash reported by Lacrocivious in http://pastebin.ca/738142

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fastresume.c

    r3426 r3430  
    190190
    191191    fastResumeFileName( path, sizeof path, tor, 1 );
    192     file = fopen( path, "wb" );
     192    file = fopen( path, "wb+" );
    193193    if( NULL == file ) {
    194194        tr_err( "Couldn't open '%s' for writing", path );
Note: See TracChangeset for help on using the changeset viewer.