From: Florian Forster Date: Fri, 25 Sep 2009 07:28:11 +0000 (+0200) Subject: openvpn plugin: Remove trailing whitespace. X-Git-Tag: collectd-4.9.0~37^2~10 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=fdfe18390b435b72ed9fead64c53e1d7f5b873c7;p=collectd.git openvpn plugin: Remove trailing whitespace. --- diff --git a/src/openvpn.c b/src/openvpn.c index cc7090bf..18f03875 100644 --- a/src/openvpn.c +++ b/src/openvpn.c @@ -455,7 +455,7 @@ static int openvpn_config (const char *key, const char *value) fclose (fh); if (status_version == 0) - { + { WARNING ("openvpn plugin: unable to detect status version, \ discarding status file \"%s\".", value); return (1); @@ -469,7 +469,7 @@ static int openvpn_config (const char *key, const char *value) sstrerror (errno, errbuf, sizeof (errbuf))); return (1); } - + /* it determines the file name as string starting at location filename + 1 */ filename = strrchr (status_file, (int) '/'); if (filename == NULL) @@ -499,7 +499,7 @@ static int openvpn_config (const char *key, const char *value) } } - /* create a new vpn element since file, version and name are ok */ + /* create a new vpn element since file, version and name are ok */ temp = (vpn_status_t *) malloc (sizeof (vpn_status_t)); temp->file = status_file; temp->version = status_version; @@ -545,7 +545,7 @@ static int openvpn_config (const char *key, const char *value) static int openvpn_shutdown (void) { int i; - + for (i = 0; i < vpn_num; i++) { sfree (vpn_list[i]->file);