Changeset 6880


Ignore:
Timestamp:
Oct 10, 2008, 3:04:46 AM (13 years ago)
Author:
charles
Message:

#1302: Uploading file deletion is ignored

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-msgs.c

    r6878 r6880  
    18161816        {
    18171817            uint8_t * buf = tr_new( uint8_t, req.length );
    1818 
    1819             if( !tr_ioRead( msgs->torrent, req.index, req.offset,
    1820                             req.length, buf ) )
     1818            const int err = tr_ioRead( msgs->torrent,
     1819                                       req.index, req.offset, req.length,
     1820                                       buf );
     1821            if( err )
     1822            {
     1823                fireError( msgs, err );
     1824            }
     1825            else
    18211826            {
    18221827                tr_peerIo *       io = msgs->io;
Note: See TracChangeset for help on using the changeset viewer.