Author: poeml Date: Mon Jan 6 00:26:44 2014 New Revision: 8323 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8323&view=rev Log: Adjust for API change in Apache 2.4: - use new AP_DECLARE_MODULE macro, and the pre-2.4 AP_MODULE_DECLARE_DATA if not available. - check that ap_log_ functions and debugLog() are used conformant with 2.4. https://httpd.apache.org/docs/2.4/developer/new_api_2_4.html Modified: trunk/mod_autoindex_mb/mod_autoindex_mb.c Modified: trunk/mod_autoindex_mb/mod_autoindex_mb.c URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_autoindex_mb/mod_autoindex_mb.c?rev=8323&r1=8322&r2=8323&view=diff ============================================================================== --- trunk/mod_autoindex_mb/mod_autoindex_mb.c (original) +++ trunk/mod_autoindex_mb/mod_autoindex_mb.c Mon Jan 6 00:26:44 2014 _at_@ -2350,7 +2350,11 @@ ap_hook_handler(handle_autoindex,NULL,NULL,APR_HOOK_MIDDLE); } +#ifdef AP_DECLARE_MODULE +AP_DECLARE_MODULE(autoindex_mb) = +#else module AP_MODULE_DECLARE_DATA autoindex_mb_module = +#endif { STANDARD20_MODULE_STUFF, create_autoindex_config, /* dir config creater */ _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Sun Jan 05 2014 - 23:26:45 GMT
This archive was generated by hypermail 2.3.0 : Sun Jan 05 2014 - 23:32:11 GMT