Changeset 3537
- Timestamp:
- 01/19/06 17:13:42 (3 years ago)
- Files:
-
- libwired/trunk/libwired/net/wi-socket.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libwired/trunk/libwired/net/wi-socket.c
r3531 r3537 1058 1058 wi_socket_set_blocking(socket, true); 1059 1059 1060 socket->direction = WI_SOCKET_ WRITE;1060 socket->direction = WI_SOCKET_READ; 1061 1061 1062 1062 return true; … … 1456 1456 int bytes = -1; 1457 1457 1458 #ifdef WI_SSL 1459 if(SSL_pending(socket->ssl) == 0 && timeout > 0.0) { 1460 #else 1458 1461 if(timeout > 0.0) { 1462 #endif 1459 1463 if(wi_socket_wait_descriptor(socket->sd, timeout, true, false) <= 0) 1460 1464 goto end;
