]> granicus.if.org Git - apache/commitdiff
Well, we still need that casting :)
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 11 Aug 2004 20:48:40 +0000 (20:48 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 11 Aug 2004 20:48:40 +0000 (20:48 +0000)
Submitted by: mturk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104564 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_ajp.c

index 1cc368ff0ab0806ae8eb97b60d14166bd1d3722d..3992efbb895e9722453ebb68278f9477bba7e411 100644 (file)
@@ -413,7 +413,8 @@ apr_status_t ap_proxy_ajp_request(apr_pool_t *p, request_rec *r,
     }
 
     /* read the response */
-    status = ajp_read_header(p_conn->sock, r, &(p_conn->data));
+    status = ajp_read_header(p_conn->sock, r,
+                             (ajp_msg_t **)&(p_conn->data));
     if (status != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_ERR, status, r->server,
                      "proxy: request failed to %pI (%s)",
@@ -485,7 +486,8 @@ apr_status_t ap_proxy_ajp_process_response(apr_pool_t * p, request_rec *r,
             break;
         }
         /* Read the next message */
-        status = ajp_read_header(p_conn->sock, r, &(p_conn->data));
+        status = ajp_read_header(p_conn->sock, r,
+                                 (ajp_msg_t **)&(p_conn->data));
         if (status != APR_SUCCESS) {
             break;
         }