]> granicus.if.org Git - apache/commitdiff
making complete_connection addition compile, hopefully as intended
authorStefan Eissing <icing@apache.org>
Fri, 19 Feb 2016 16:07:45 +0000 (16:07 +0000)
committerStefan Eissing <icing@apache.org>
Fri, 19 Feb 2016 16:07:45 +0000 (16:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1731264 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/simple/simple_io.c

index 6d98935e8b69f7b65cf8c5fcaf1849cf66d06a1f..83cbe04cc11a42d945eaf6022417927629c5aae6 100644 (file)
@@ -14,6 +14,7 @@
  * limitations under the License.
  */
 
+#include "mpm_common.h"
 #include "httpd.h"
 #include "http_log.h"
 #include "ap_listen.h"
@@ -94,7 +95,7 @@ static apr_status_t simple_io_process(simple_conn_t * scon)
         if (scon->cs.state == CONN_STATE_WRITE_COMPLETION) {
             int not_complete_yet;
 
-            ap_update_child_status_from_conn(sbh, SERVER_BUSY_WRITE, c);
+            ap_update_child_status_from_conn(c->sbh, SERVER_BUSY_WRITE, c);
             not_complete_yet = ap_run_complete_connection(c);
 
             if (not_complete_yet > OK) {