Ignore:
Timestamp:
Aug 2, 2007, 11:33:40 PM (14 years ago)
Author:
charles
Message:

More win32 portability fixes. we now talk to tracker & peers; hash checks work, downloads seem to work. w00t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r2591 r2596  
    749749        {
    750750            tr_err( "sysctl net.route.0.inet.flags.gateway failed (%s)",
    751                     strerror( errno ) );
     751                    strerror( sockerrno ) );
    752752        }
    753753        *buflen = 0;
     
    765765    {
    766766        tr_err( "sysctl net.route.0.inet.flags.gateway failed (%s)",
    767                 strerror( errno ) );
     767                strerror( sockerrno ) );
    768768        free( buf );
    769769        *buflen = 0;
     
    895895    if( 0 > fd )
    896896    {
    897         tr_err( "failed to create routing socket (%s)", strerror( errno ) );
     897        tr_err( "failed to create routing socket (%s)", strerror( sockerrno ) );
    898898        return -1;
    899899    }
     
    902902    if( 0 > flags || 0 > fcntl( fd, F_SETFL, O_NONBLOCK | flags ) )
    903903    {
    904         tr_err( "failed to set socket nonblocking (%s)", strerror( errno ) );
     904        tr_err( "failed to set socket nonblocking (%s)", strerror( sockerrno ) );
    905905        close( fd );
    906906        return -1;
     
    921921                    (struct sockaddr *) &snl, sizeof( snl ) ) )
    922922    {
    923         tr_err( "failed to write to routing socket (%s)", strerror( errno ) );
     923        tr_err( "failed to write to routing socket (%s)", strerror( sockerrno ) );
    924924        close( fd );
    925925        return -1;
Note: See TracChangeset for help on using the changeset viewer.