Skip to content

Commit 76a682e

Browse files
committed
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.
1 parent 6050919 commit 76a682e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mod_auth_gssapi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include <apr_strings.h>
3535
#include <apr_base64.h>
3636

37-
module AP_MODULE_DECLARE_DATA mag_module;
37+
module AP_MODULE_DECLARE_DATA auth_gssapi_module;
3838

3939
struct mag_config {
4040
bool ssl_only;
@@ -110,7 +110,7 @@ static int mag_auth(request_rec *req)
110110
return DECLINED;
111111
}
112112

113-
cfg = ap_get_module_config(req->per_dir_config, &mag_module);
113+
cfg = ap_get_module_config(req->per_dir_config, &auth_gssapi_module);
114114

115115
if (cfg->ssl_only) {
116116
ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, req,

0 commit comments

Comments
 (0)