From: Florian Forster Date: Tue, 9 Aug 2016 19:46:21 +0000 (+0200) Subject: mysql plugin: Remove trailing whitespace. X-Git-Tag: collectd-5.6.0~65 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ab324851dd66efb814b32d134dd1ae427c22b8fe;p=collectd.git mysql plugin: Remove trailing whitespace. --- diff --git a/src/mysql.c b/src/mysql.c index 2ad91ca3..ff6c0a7a 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -47,8 +47,8 @@ struct mysql_database_s /* {{{ */ char *user; char *pass; char *database; - - // mysql_ssl_set params + + /* mysql_ssl_set params */ char *key; char *cert; char *ca; @@ -276,7 +276,7 @@ static int mysql_config (oconfig_item_t *ci) /* {{{ */ static MYSQL *getconnection (mysql_database_t *db) { const char *cipher; - + if (db->is_connected) { int status; @@ -318,7 +318,7 @@ static MYSQL *getconnection (mysql_database_t *db) } cipher = mysql_get_ssl_cipher (db->con); - + INFO ("mysql plugin: Successfully connected to database %s " "at server %s with cipher %s " "(server version: %s, protocol version: %d) ", @@ -1001,7 +1001,7 @@ static int mysql_read (user_data_t *ud) counter_submit ("mysql_sort", "scan", val, db); } - else if (strncmp (key, "Slow_queries", strlen ("Slow_queries")) == 0) + else if (strncmp (key, "Slow_queries", strlen ("Slow_queries")) == 0) { counter_submit ("mysql_slow_queries", NULL , val, db); }