]>
Commit | Line | Data |
---|---|---|
a494817e JB |
1 | --- apache-mod_auth_mysql-0.3/mod_auth_mysql.c.orig Mon Oct 22 14:15:13 2001 |
2 | +++ apache-mod_auth_mysql-0.3/mod_auth_mysql.c Mon Oct 22 14:16:19 2001 | |
3 | @@ -66,7 +66,7 @@ | |
4 | * instead. | |
5 | * | |
6 | * MODULE-DEFINITION-START | |
7 | - * Name: mysql_auth_module | |
8 | + * Name: auth_mysql_module | |
9 | * ConfigStart | |
10 | MYSQL_LIB="-L/usr/local/lib/mysql -lmysqlclient -lm" | |
11 | if [ "X$MYSQL_LIB" != "X" ]; then | |
12 | @@ -358,7 +358,7 @@ | |
13 | { NULL } | |
14 | }; | |
15 | ||
16 | -module mysql_auth_module; | |
17 | +module auth_mysql_module; | |
18 | ||
19 | /* | |
20 | * Fetch and return password string from database for named user. | |
21 | @@ -478,7 +478,7 @@ | |
22 | { | |
23 | mysql_auth_config_rec *sec = | |
24 | (mysql_auth_config_rec *)ap_get_module_config (r->per_dir_config, | |
25 | - &mysql_auth_module); | |
26 | + &auth_mysql_module); | |
27 | conn_rec *c = r->connection; | |
28 | const char *sent_pw, *real_pw; | |
29 | int res; | |
30 | @@ -523,7 +523,7 @@ | |
31 | { | |
32 | mysql_auth_config_rec *sec = | |
33 | (mysql_auth_config_rec *)ap_get_module_config(r->per_dir_config, | |
34 | - &mysql_auth_module); | |
35 | + &auth_mysql_module); | |
36 | char *user = r->connection->user; | |
37 | int method = r->method_number; | |
38 | ||
39 | @@ -579,7 +579,7 @@ | |
40 | } | |
41 | ||
42 | ||
43 | -module mysql_auth_module = { | |
44 | +module auth_mysql_module = { | |
45 | STANDARD_MODULE_STUFF, | |
46 | NULL, /* initializer */ | |
47 | create_mysql_auth_dir_config, /* dir config creater */ |