From 76a682eda05ce9f2705ccf17503fb3870b6b49ae Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 9 Mar 2014 17:16:12 -0400 Subject: [PATCH] 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. --- src/mod_auth_gssapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.1.4