Changeset 5284


Ignore:
Timestamp:
Mar 18, 2008, 4:26:45 PM (14 years ago)
Author:
charles
Message:

#740: back out the previous "fix" because it caused an regression in the mac client

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r5249 r5284  
    427427    doFree = !err && ( setmeInfo == &tmp );
    428428
    429     if( !err && hashExists( handle, setmeInfo->hash ) ) {
     429    if( !err && hashExists( handle, setmeInfo->hash ) )
    430430        err = TR_EDUPLICATE;
    431         doFree = 1;
    432     }
    433431
    434432    if( doFree )
  • trunk/libtransmission/transmission.h

    r5243 r5284  
    439439 *     "destination" must be set to test for TR_EDUPLICATE.
    440440 *
    441  * If parsing is successful and setme_info is non-NULL, the parsed
    442  * metainfo is stored there and will need to be freed by the caller
    443  * via tr_metainfoFree().
     441 * If setme_info is non-NULL and parsing is successful
     442 * (that is, if TR_EINVALID is not returned), then the parsed
     443 * metainfo is stored in setme_info and should be freed by the
     444 * caller via tr_metainfoFree().
    444445 */
    445446int tr_torrentParse( const tr_handle  * handle,
Note: See TracChangeset for help on using the changeset viewer.