From: Simo Sorce Date: Sun, 9 Mar 2014 21:16:12 +0000 (-0400) Subject: Fix module name X-Git-Tag: v1.0.0~15 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_gssapi.git;a=commitdiff_plain;h=76a682eda05ce9f2705ccf17503fb3870b6b49ae Fix module name The module structure name used throughout the code didn't match the name of the initialized structure, so the one used was always uninitialized. --- diff --git a/src/mod_auth_gssapi.c b/src/mod_auth_gssapi.c index e6fb209..182564c 100644 --- a/src/mod_auth_gssapi.c +++ b/src/mod_auth_gssapi.c @@ -34,7 +34,7 @@ #include #include -module AP_MODULE_DECLARE_DATA mag_module; +module AP_MODULE_DECLARE_DATA auth_gssapi_module; struct mag_config { bool ssl_only; @@ -110,7 +110,7 @@ static int mag_auth(request_rec *req) return DECLINED; } - cfg = ap_get_module_config(req->per_dir_config, &mag_module); + cfg = ap_get_module_config(req->per_dir_config, &auth_gssapi_module); if (cfg->ssl_only) { ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, req,