httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r903607 - /httpd/httpd/trunk/modules/generators/mod_status.c
Date Wed, 27 Jan 2010 11:01:45 GMT
Author: rpluem
Date: Wed Jan 27 11:01:45 2010
New Revision: 903607

URL: http://svn.apache.org/viewvc?rev=903607&view=rev
Log:
* We need to return an int as result of the pre_config hook.

Modified:
    httpd/httpd/trunk/modules/generators/mod_status.c

Modified: httpd/httpd/trunk/modules/generators/mod_status.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_status.c?rev=903607&r1=903606&r2=903607&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_status.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_status.c Wed Jan 27 11:01:45 2010
@@ -780,7 +780,7 @@
     return 0;
 }
 
-static void status_pre_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp)
+static int status_pre_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp)
 {
     /* When mod_status is loaded, default our ExtendedStatus to 'on'
      * other modules which prefer verbose scoreboards may play a similar game.
@@ -788,6 +788,7 @@
      * scoreboard entries.
      */
     ap_extended_status = 1;
+    return OK;
 }
 
 static int status_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp,



Mime
View raw message