]> git.pld-linux.org Git - packages/apache1-mod_antihak.git/commitdiff
- new mysql API
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 10 Feb 2005 18:33:44 +0000 (18:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_antihak-mysql-API.patch -> 1.1

apache1-mod_antihak-mysql-API.patch [new file with mode: 0644]

diff --git a/apache1-mod_antihak-mysql-API.patch b/apache1-mod_antihak-mysql-API.patch
new file mode 100644 (file)
index 0000000..85d9b9b
--- /dev/null
@@ -0,0 +1,11 @@
+--- ./reset_stats/reset_stats.c~       2001-10-11 10:00:29.000000000 +0200
++++ ./reset_stats/reset_stats.c        2005-02-10 17:45:40.000000000 +0200
+@@ -42,7 +42,7 @@
+     return "mysql_init";
+   }
+-  if( !mysql_connect( server, "localhost", STATS_USER, STATS_PASSWD ) )
++  if (!mysql_real_connect(server, "localhost", STATS_USER, STATS_PASSWD, NULL, MYSQL_PORT, NULL, 0))
+   {
+     result = "mysql_connect";
+     goto end_app;
This page took 0.091799 seconds and 4 git commands to generate.