rbb 99/04/14 08:14:03
Modified: apr/network_io/unix sendrecv.c Log: Small update to apr_send and apr_recv. Revision Changes Path 1.2 +2 -2 apache-apr/apr/network_io/unix/sendrecv.c Index: sendrecv.c =================================================================== RCS file: /home/cvs/apache-apr/apr/network_io/unix/sendrecv.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sendrecv.c 1999/04/14 14:03:58 1.1 +++ sendrecv.c 1999/04/14 15:14:03 1.2 @@ -60,7 +60,7 @@ #include "apr_network_io.h" #include <sys/time.h> -apr_int32_t apr_send(apr_socket_t *sock, const char *buf, int len, time_t sec) +apr_ssize_t apr_send(apr_socket_t *sock, const char *buf, int len, time_t sec) { fd_set fdset; struct timeval tv; @@ -93,7 +93,7 @@ } } -static int recvwithtimeout(apr_socket_t *sock, char *buf, int len, time_t sec) +apr_ssize_t apr_recv(apr_socket_t *sock, char *buf, int len, time_t sec) { fd_set fdset; struct timeval tv;