Ignore:
Timestamp:
Aug 2, 2007, 9:58:34 PM (14 years ago)
Author:
charles
Message:

more portability fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r2591 r2593  
    271271#endif
    272272    {
    273         tr_err( "Could not set socket to non-blocking mode (%s)",
     273        tr_err( "Couldn't set socket to non-blocking mode (%s)",
    274274                strerror( sockerrno ) );
    275275        tr_netClose( s );
     
    311311        sockerrno != EINPROGRESS )
    312312    {
    313         tr_err( "Could not connect socket (%s)", strerror( sockerrno ) );
     313        tr_err( "Couldn't connect socket (%s)", strerror( sockerrno ) );
    314314        tr_netClose( s );
    315315        return -1;
     
    348348    if( setsockopt( fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, (char*)&req, sizeof ( req ) ) )
    349349    {
    350         tr_err( "Could not join multicast group (%s)", strerror( sockerrno ) );
     350        tr_err( "Couldn't join multicast group (%s)", strerror( sockerrno ) );
    351351        tr_netClose( fd );
    352352        return -1;
     
    397397               sizeof( struct sockaddr_in ) ) )
    398398    {
    399         tr_err( "Could not bind port %d", port );
     399        tr_err( "Couldn't bind port %d", port );
    400400        tr_netClose( s );
    401401        return -1;
Note: See TracChangeset for help on using the changeset viewer.