]> granicus.if.org Git - apache/commitdiff
mod_serf: Add a FIXME, we are using ap_get_client_block() incorrectly.
authorGraham Leggett <minfrin@apache.org>
Wed, 15 May 2013 15:05:28 +0000 (15:05 +0000)
committerGraham Leggett <minfrin@apache.org>
Wed, 15 May 2013 15:05:28 +0000 (15:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1482883 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_serf.c

index 52260275d07fe409a46b5ef1ee09bff58a4c51a0..463833ea062122388788d9384a98f4162bfa1b4f 100644 (file)
@@ -539,6 +539,7 @@ static int drive_serf(request_rec *r, serf_config_t *conf)
 
         do {
             len = sizeof(buf);
+            /* FIXME: ap_get_client_block() returns long, not apr_status_t */
             rv = ap_get_client_block(baton->r, buf, len);
             if (rv > 0) {
                 rv = apr_file_write_full(fp, buf, rv, NULL);