httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/arch/win32 mod_isapi.c
Date Thu, 03 May 2001 04:15:22 GMT
wrowe       01/05/02 21:15:22

  Modified:    modules/arch/win32 mod_isapi.c
  Log:
    Damnable casts
  
  Submitted by:  Jessie Oberreuter <jessieo@westside.com>
  
  Revision  Changes    Path
  1.41      +5 -1      httpd-2.0/modules/arch/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/arch/win32/mod_isapi.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- mod_isapi.c	2001/02/28 15:31:29	1.40
  +++ mod_isapi.c	2001/05/03 04:15:21	1.41
  @@ -655,7 +655,7 @@
           ; /* XXX: Fake it */
   
       bb = apr_brigade_create(r->pool);
  -    b = apr_bucket_transient_create(Buffer, (apr_size_t)lpwdwBytes);
  +    b = apr_bucket_transient_create(Buffer, *lpwdwBytes);
       APR_BRIGADE_INSERT_TAIL(bb, b);
       b = apr_bucket_eos_create();
       APR_BRIGADE_INSERT_TAIL(bb, b);
  @@ -727,6 +727,10 @@
           return -1;
       
       /* Headers will actually go when they are good and ready */
  +
  +    /* If all went well, tell the caller we consumed the headers complete */
  +    if (!termch)
  +        return(headlen);
   
       /* Any data left is sent directly by the caller, all we
        * give back is the size of the headers we consumed
  
  
  

Mime
View raw message