httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@hyperreal.org
Subject cvs commit: apache-2.0/src/os/beos iol_socket.c
Date Wed, 03 Nov 1999 15:50:14 GMT
dreid       99/11/03 07:50:14

  Modified:    src/os/beos iol_socket.c
  Log:
  Fix a small problem with beos_writev.
  
  Revision  Changes    Path
  1.4       +3 -1      apache-2.0/src/os/beos/iol_socket.c
  
  Index: iol_socket.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/beos/iol_socket.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- iol_socket.c	1999/11/02 12:26:42	1.3
  +++ iol_socket.c	1999/11/03 15:50:13	1.4
  @@ -98,6 +98,7 @@
       return APR_SUCCESS;
   }
   
  +
   ap_status_t beos_write(ap_iol *viol, const char* buf, ap_size_t size,
        ap_ssize_t *nbytes)
   {
  @@ -108,7 +109,8 @@
   ap_status_t beos_writev(ap_iol *viol, const struct iovec *vec, int nvec,
       ap_ssize_t *nbytes)
   {
  -    return ap_send(((iol_socket *)viol)->sock, vec[0].iov_base, vec[0].iov_len);
  +    *nbytes = vec[0].iov_len;
  +    return ap_send(((iol_socket *)viol)->sock, vec[0].iov_base, nbytes);
   }
   
   ap_status_t beos_read(ap_iol *viol, char* buf, ap_size_t size,
  
  
  

Mime
View raw message