summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/cyrus-sasl2/files/patch-plugins::mysql.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/files/patch-plugins::mysql.c b/security/cyrus-sasl2/files/patch-plugins::mysql.c
new file mode 100644
index 000000000000..4acc910a0e55
--- /dev/null
+++ b/security/cyrus-sasl2/files/patch-plugins::mysql.c
@@ -0,0 +1,12 @@
+Index: plugins/mysql.c
+diff -u plugins/mysql.c.orig plugins/mysql.c
+--- plugins/mysql.c.orig Thu May 15 03:46:02 2003
++++ plugins/mysql.c Tue Jul 1 02:00:55 2003
+@@ -326,6 +326,7 @@
+ "mysql plugin try and connect to %s\n",
+ cur_host);
+
++ mysql_init(&mysql);
+ sock = mysql_real_connect(&mysql,cur_host,
+ settings->mysql_user,
+ settings->mysql_passwd,