summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 564816c)
raw | patch | inline | side by side (parent: 564816c)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Sat, 16 Aug 2008 04:47:32 +0000 (04:47 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Sat, 16 Aug 2008 04:47:32 +0000 (04:47 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2034 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_mysql.c | patch | blob | history | |
plugins/check_mysql_query.c | patch | blob | history |
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index a9f0f600bc9964d2d81ceba735c6f0a4c09a12f7..d82dea142b7cfed8cc31f1d36f9d2df10a587977 100644 (file)
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
db_host = strdup("");
if (db_pass == NULL)
- db_pass == strdup("");
+ db_pass = strdup("");
if (db == NULL)
db = strdup("");
index 6c5e436798c5c9b205a66bf477f67814640a71c1..e887bca2ba15daa5e3a1abf146f5d6a034a418ac 100644 (file)
db_host = strdup("");
if (db_pass == NULL)
- db_pass == strdup("");
+ db_pass = strdup("");
if (db == NULL)
db = strdup("");