From b5f11055dcef13a5c0b67207a291e1916036ca1f Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Tue, 4 Dec 2007 12:33:00 +0000 Subject: Merge more changes from trunk git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/dermoth_ntp_rework@1845 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_cluster.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'plugins/check_cluster.c') 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){ break; case 'w': /* warning threshold */ - if (strspn (optarg, "0123456789:,") < strlen (optarg)) - usage2 (_("Invalid warning threshold: %s\n"), optarg); warn_threshold = strdup(optarg); break; case 'c': /* warning threshold */ - if (strspn (optarg, "0123456789:,") < strlen (optarg)) - usage2 (_("Invalid critical threshold: %s\n"), optarg); crit_threshold = strdup(optarg); break; -- cgit v1.2.3-74-g34f1