1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 08:33:12 +02:00

BUILD : 1.7.17 (1188) BUGS : N/A NOTES : Make the mysql secure check easier to read... its ugly :(

git-svn-id: svn://svn.anope.org/anope/trunk@1188 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@908 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-10-18 08:13:35 +00:00
parent 9911e0abb2
commit f41d792c01
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ char *db_mysql_secure(char *pass)
if(enc_decrypt(pass,tmp_pass,PASSMAX)!=1) {
snprintf(epass, sizeof(epass), "'%s'", pass);
} else { /* if we could decrypt the pass */
if (!tmp_pass) {
if (!pass) {
snprintf(epass, sizeof(epass), "''");
} else if ((!MysqlSecure) || (strcmp(MysqlSecure, "") == 0)) {
snprintf(epass, sizeof(epass), "'%s'", tmp_pass);
+6 -1
View File
@@ -9,10 +9,15 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="17"
VERSION_EXTRA="-svn"
VERSION_BUILD="1187"
VERSION_BUILD="1188"
# $Log$
#
# BUILD : 1.7.17 (1188)
# BUGS : N/A
# NOTES : Make the mysql secure check easier to read... its ugly :(
#
#
# BUILD : 1.7.17 (1187)
# BUGS : N/A
# NOTES : Put mysql secure back to how it should be - i think