diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-12-04 12:33:00 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-12-04 12:33:00 +0000 |
commit | b5f11055dcef13a5c0b67207a291e1916036ca1f (patch) | |
tree | 97822eed51e47a88201251c61d73afe1bc7ce0be /plugins/check_cluster.c | |
parent | c1418c9dafba384536595bea2f5f4d256a498d15 (diff) | |
download | monitoring-plugins-b5f11055dcef13a5c0b67207a291e1916036ca1f.tar.gz |
Merge more changes from trunktg/ntp_rework
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/dermoth_ntp_rework@1845 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_cluster.c')
-rw-r--r-- | plugins/check_cluster.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c index 703fff97..f1568d5a 100644 --- a/plugins/check_cluster.c +++ b/plugins/check_cluster.c | |||
@@ -178,14 +178,10 @@ int process_arguments(int argc, char **argv){ | |||
178 | break; | 178 | break; |
179 | 179 | ||
180 | case 'w': /* warning threshold */ | 180 | case 'w': /* warning threshold */ |
181 | if (strspn (optarg, "0123456789:,") < strlen (optarg)) | ||
182 | usage2 (_("Invalid warning threshold: %s\n"), optarg); | ||
183 | warn_threshold = strdup(optarg); | 181 | warn_threshold = strdup(optarg); |
184 | break; | 182 | break; |
185 | 183 | ||
186 | case 'c': /* warning threshold */ | 184 | case 'c': /* warning threshold */ |
187 | if (strspn (optarg, "0123456789:,") < strlen (optarg)) | ||
188 | usage2 (_("Invalid critical threshold: %s\n"), optarg); | ||
189 | crit_threshold = strdup(optarg); | 185 | crit_threshold = strdup(optarg); |
190 | break; | 186 | break; |
191 | 187 | ||