diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_mysql.c | 2 | ||||
-rw-r--r-- | plugins/check_mysql_query.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index a9f0f600..d82dea14 100644 --- a/plugins/check_mysql.c +++ b/plugins/check_mysql.c | |||
@@ -362,7 +362,7 @@ validate_arguments (void) | |||
362 | db_host = strdup(""); | 362 | db_host = strdup(""); |
363 | 363 | ||
364 | if (db_pass == NULL) | 364 | if (db_pass == NULL) |
365 | db_pass == strdup(""); | 365 | db_pass = strdup(""); |
366 | 366 | ||
367 | if (db == NULL) | 367 | if (db == NULL) |
368 | db = strdup(""); | 368 | db = strdup(""); |
diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c index 6c5e4367..e887bca2 100644 --- a/plugins/check_mysql_query.c +++ b/plugins/check_mysql_query.c | |||
@@ -271,7 +271,7 @@ validate_arguments (void) | |||
271 | db_host = strdup(""); | 271 | db_host = strdup(""); |
272 | 272 | ||
273 | if (db_pass == NULL) | 273 | if (db_pass == NULL) |
274 | db_pass == strdup(""); | 274 | db_pass = strdup(""); |
275 | 275 | ||
276 | if (db == NULL) | 276 | if (db == NULL) |
277 | db = strdup(""); | 277 | db = strdup(""); |