Commit 11a2e8b9 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Damnable casts

Submitted by:  Jessie Oberreuter <jessieo@westside.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88980 13f79535-47bb-0310-9956-ffa450edef68
parent c1f9de0f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -655,7 +655,7 @@ BOOL WINAPI WriteClient (HCONN ConnID, LPVOID Buffer, LPDWORD lpwdwBytes,
        ; /* 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);
@@ -728,6 +728,10 @@ static apr_off_t SendResponseHeaderEx(isapi_cid *cid, const char *stat,
    
    /* 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
     */