]> granicus.if.org Git - apache/commitdiff
Silence compiler warning.
authorRainer Jung <rjung@apache.org>
Sun, 6 Jun 2010 14:04:06 +0000 (14:04 +0000)
committerRainer Jung <rjung@apache.org>
Sun, 6 Jun 2010 14:04:06 +0000 (14:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951866 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/worker/worker.c

index e230ed70362624f1c64ee22a2a8bf8f399d9a120..286f6a7eac0b55beecea2a0e32e67a7221a12131 100644 (file)
@@ -726,8 +726,7 @@ static void * APR_THREAD_FUNC listener_thread(apr_thread_t *thd, void * dummy)
 
                     /* apr_pollset_poll() will only return errors in catastrophic
                      * circumstances. Let's try exiting gracefully, for now. */
-                    ap_log_error(APLOG_MARK, APLOG_ERR, rv,
-                                 (const server_rec *) ap_server_conf,
+                    ap_log_error(APLOG_MARK, APLOG_ERR, rv, ap_server_conf,
                                  "apr_pollset_poll: (listen)");
                     signal_threads(ST_GRACEFUL);
                 }