httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server protocol.c
Date Tue, 23 Oct 2001 20:43:57 GMT
trawick     01/10/23 13:43:57

  Modified:    server   protocol.c
  Log:
  don't lose the return code from ap_fwrite() when called from buffer_output()
  
  Revision  Changes    Path
  1.49      +1 -3      httpd-2.0/server/protocol.c
  
  Index: protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- protocol.c	2001/10/05 08:51:43	1.48
  +++ protocol.c	2001/10/23 20:43:57	1.49
  @@ -1087,9 +1087,7 @@
           ctx->bb = apr_brigade_create(r->pool);
       }
   
  -    ap_fwrite(f->next, ctx->bb, str, len);
  -
  -    return APR_SUCCESS;
  +    return ap_fwrite(f->next, ctx->bb, str, len);
   }
   
   AP_DECLARE(int) ap_rputc(int c, request_rec *r)
  
  
  

Mime
View raw message