Changeset 10917


Ignore:
Timestamp:
Jul 1, 2010, 4:00:41 AM (12 years ago)
Author:
charles
Message:

(trunk libT) #3311 "MingW build of Transmission" -- added rb07's revisions to my revisions to his diff. :P

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r10913 r10917  
    153153    *buf = '\0';
    154154#ifdef WIN32
    155     FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM, NULL, e, 0, buf, buflen, NULL );
     155    FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM, NULL, err, 0, buf, buflen, NULL );
    156156#else
    157157    tr_strlcpy( buf, tr_strerror( err ), buflen );
  • trunk/libtransmission/web.c

    r10913 r10917  
    257257    if( !r_fd_set->fd_count && !w_fd_set->fd_count && !c_fd_set->fd_count )
    258258    {
     259        const long int msec = t->tv_sec*1000 + t->tv_usec/1000;
    259260        tr_wait_msec( msec );
    260261    }
  • trunk/third-party/dht/dht.c

    r10914 r10917  
    6767
    6868#define EAFNOSUPPORT WSAEAFNOSUPPORT
     69#define EAGAIN WSAEWOULDBLOCK
    6970static int
    7071set_nonblocking(int fd, int nonblocking)
Note: See TracChangeset for help on using the changeset viewer.