Changeset 5193 for trunk/libtransmission/net.c
- Timestamp:
- Mar 4, 2008, 2:02:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/net.c
r5065 r5193 93 93 #endif 94 94 { 95 tr_err( "Couldn't set socket to non-blocking mode (%s)",95 tr_err( _( "Couldn't set socket to non-blocking mode: %s" ), 96 96 tr_strerror( sockerrno ) ); 97 97 tr_netClose( fd ); … … 133 133 && ( sockerrno != EINPROGRESS ) ) 134 134 { 135 tr_err( "Couldn't connect socket %d to %s, port %d (errno %d - %s)",135 tr_err( _( "Couldn't connect socket %d to %s, port %d (errno %d - %s)" ), 136 136 s, inet_ntoa(*addr), port, 137 137 sockerrno, tr_strerror(sockerrno) ); … … 160 160 if( ( s = createSocket( type, 1 ) ) < 0 ) 161 161 { 162 tr_err( "Couldn't create socket of type %d", type );162 tr_err( _( "Couldn't create socket of type %d" ), type ); 163 163 return -1; 164 164 } … … 177 177 sizeof( struct sockaddr_in ) ) ) 178 178 { 179 tr_err( "Couldn't bind port %d: %s", port, tr_strerror(sockerrno) );179 tr_err( _( "Couldn't bind port %d: %s" ), port, tr_strerror(sockerrno) ); 180 180 tr_netClose( s ); 181 181 return -1; 182 182 } 183 183 184 tr_inf( "Bound socket %d to port %d", s, port );184 tr_inf( _( "Bound socket %d to port %d" ), s, port ); 185 185 return s; 186 186 }
Note: See TracChangeset
for help on using the changeset viewer.