]> git.pld-linux.org Git - packages/apache1-mod_auth_mysql.git/blame - apache1-mod_auth_mysql-mysql-API.patch
- use apache1(EAPI) for runtime dep
[packages/apache1-mod_auth_mysql.git] / apache1-mod_auth_mysql-mysql-API.patch
CommitLineData
6eb5080a
ER
1--- ./mod_auth_mysql.c~ 1998-10-03 20:41:41.000000000 +0300
2+++ ./mod_auth_mysql.c 2005-02-10 20:40:34.000000000 +0200
3@@ -372,7 +372,7 @@
4 }
5 if (name != NULL) { /* open an SQL link */
6 /* link to the MySQL database and register its cleanup!@$ */
7- mysql_auth = mysql_connect(&auth_sql_server, auth_db_host, user, pwd);
8+ mysql_auth = mysql_real_connect(&auth_sql_server, auth_db_host, user, pwd, NULL, MYSQL_PORT, NULL, 0);
9 if (sec->non_persistent && mysql_auth) {
10 note_cleanups_for_mysql_auth(r->pool, mysql_auth);
11 }
This page took 0.052027 seconds and 4 git commands to generate.