diff options
author | Andrew Widdersheim <awiddersheim@hotmail.com> | 2015-04-13 08:04:56 -0400 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-04-13 14:16:34 +0200 |
commit | 500f8aec81c3a378e22c6ec767cf6d8fbc9f77b4 (patch) | |
tree | 9f0ed8976aa58b5c5e5105d1ec59827938ba06b2 | |
parent | 08fdd5789c300b8e3b0251839b57a09a5c8f440e (diff) | |
download | monitoring-plugins-500f8aec81c3a378e22c6ec767cf6d8fbc9f77b4.tar.gz |
Readability fix
-rw-r--r-- | plugins/check_tcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 63f9fd9c..a18c37ae 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -577,7 +577,8 @@ process_arguments (int argc, char **argv) | |||
577 | if ((temp=strchr(optarg,','))!=NULL) { | 577 | if ((temp=strchr(optarg,','))!=NULL) { |
578 | *temp='\0'; | 578 | *temp='\0'; |
579 | if (!is_intnonneg (optarg)) | 579 | if (!is_intnonneg (optarg)) |
580 | usage2 (_("Invalid certificate expiration period"), optarg); days_till_exp_warn = atoi(optarg); | 580 | usage2 (_("Invalid certificate expiration period"), optarg); |
581 | days_till_exp_warn = atoi (optarg); | ||
581 | *temp=','; | 582 | *temp=','; |
582 | temp++; | 583 | temp++; |
583 | if (!is_intnonneg (temp)) | 584 | if (!is_intnonneg (temp)) |