[monitoring-plugins] Readability fix

Holger Weiss git at monitoring-plugins.org
Mon Apr 13 14:20:11 CEST 2015


    Module: monitoring-plugins
    Branch: master
    Commit: 500f8aec81c3a378e22c6ec767cf6d8fbc9f77b4
    Author: Andrew Widdersheim <awiddersheim at hotmail.com>
 Committer: Holger Weiss <holger at zedat.fu-berlin.de>
      Date: Mon Apr 13 08:04:56 2015 -0400
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=500f8ae

Readability fix

---

 plugins/check_tcp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 63f9fd9..a18c37a 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -577,7 +577,8 @@ process_arguments (int argc, char **argv)
 			if ((temp=strchr(optarg,','))!=NULL) {
 			    *temp='\0';
 			    if (!is_intnonneg (optarg))
-                               usage2 (_("Invalid certificate expiration period"), optarg);				 days_till_exp_warn = atoi(optarg);
+                               usage2 (_("Invalid certificate expiration period"), optarg);
+			    days_till_exp_warn = atoi (optarg);
 			    *temp=',';
 			    temp++;
 			    if (!is_intnonneg (temp))



More information about the Commits mailing list