On Wed, May 16, 2001 at 06:32:48PM +0200, Hroi Sigurdsson wrote:

> Apache always calls my command handlers with a null mconfig pointer

I seemed to have missed the fact that one should use get_module_config()
instead of relying on the mconfig pointer for server config handlers.
Changing the line
  sheep_server_config *cfg = (sheep_server_config *)mconfig;
to
  sheep_server_config *cfg = (sheep_server_config *)
                      ap_get_module_config(s->module_config,&sheep_module);

fixed it.

-- 
Hroi Sigurdsson                             [EMAIL PROTECTED]
Netgroup A/S                          http://www.netgroup.dk

Reply via email to