summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-03-09 17:16:12 -0400
committerSimo Sorce <simo@redhat.com>2014-03-09 17:19:05 -0400
commit76a682eda05ce9f2705ccf17503fb3870b6b49ae (patch)
tree9590a15c121a51cf91a7bdedef94fb6316dab68d /src
parent60509195fb41173ba8e6cfac8bf800935ebb86ad (diff)
downloadmod_auth_gssapi-76a682eda05ce9f2705ccf17503fb3870b6b49ae.tar.gz
mod_auth_gssapi-76a682eda05ce9f2705ccf17503fb3870b6b49ae.tar.xz
mod_auth_gssapi-76a682eda05ce9f2705ccf17503fb3870b6b49ae.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/mod_auth_gssapi.c4
1 files 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 <apr_strings.h>
#include <apr_base64.h>
-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,