Changeset 9536


Ignore:
Timestamp:
Nov 22, 2009, 12:52:11 AM (13 years ago)
Author:
charles
Message:

(trunk libT) fix a stupid trunk-only bug that messed up which peer requests we responded to. maybe this has something to do with the slower speeds Rolcol's seeing?

File:
1 edited

Legend:

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

    r9532 r9536  
    724724
    725725    *setme = msgs->peerAskedFor[0];
    726     memmove( msgs->peerAskedFor, msgs->peerAskedFor + 1, --msgs->peerAskedForCount );
     726
     727    memmove( msgs->peerAskedFor,
     728             msgs->peerAskedFor + 1,
     729             sizeof( struct peer_request ) * --msgs->peerAskedForCount );
     730
    727731    return TRUE;
    728732}
Note: See TracChangeset for help on using the changeset viewer.