[vchkpw] Re: patch for vmysql.c

2006-03-30 Thread Martin Xiao
Patch update.diff -u vpopmail-5.4.13.org/vmysql.c vpopmail-5.4.13/vmysql.c--- vpopmail-5.4.13.org/vmysql.c     2004-12-16 23:57:34.0 +0800+++ vpopmail-5.4.13/vmysql.c    2006-03-31 09:42:45.0 +0800@@ -188,7 +188,7 @@ { unsigned int timeout = 2;-    if ( update_open != 0 ) re

[vchkpw] patch for vmysql.c

2006-03-30 Thread Martin Xiao
hi: I have written a patch for vmysql.c,if 'read_open' is 1,but mysql server have close this connection,vpopmail will report error: "MySQL server has gone away" . Mysql_ping checks whether the connection to the server is working. If the connection have closed, then reconnec. PATCH==