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/metainfo.c

    r3426 r3430  
    622622
    623623    savedname( path, sizeof path, hash, tag );
    624     file = fopen( path, "wb" );
     624    file = fopen( path, "wb+" );
    625625    if( !file )
    626626    {
Note: See TracChangeset for help on using the changeset viewer.