Ignore:
Timestamp:
Jan 10, 2009, 2:22:13 AM (13 years ago)
Author:
charles
Message:

(trunk libT) win32 portability fixes, reported by Alexey

File:
1 edited

Legend:

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

    r7641 r7652  
    1212
    1313#include <assert.h>
     14#include <errno.h>
    1415#include <limits.h> /* INT_MAX */
    1516#include <string.h>
     
    8889    while( bytes_transferred )
    8990    {
    90         struct tr_datatype * next = __tr_list_entry( io->outbuf_datatypes.next,
    91                                                      struct tr_datatype, head );
     91        struct tr_datatype * next = __tr_list_entry( io->outbuf_datatypes.next, struct tr_datatype, head );
    9292        const size_t payload = MIN( next->length, bytes_transferred );
    9393        const size_t overhead = getPacketOverhead( payload );
Note: See TracChangeset for help on using the changeset viewer.