Module: monitoring-plugins Branch: master Commit: 2aa6ce284451198616ef5a4f54d009c39d01a983 Author: Jan Wagner <[email protected]> Date: Thu Jan 30 09:59:36 2014 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=2aa6ce2
check_dig: timeout_interval is a global variable which is already set to 10 seconds --- plugins/check_dig.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/check_dig.c b/plugins/check_dig.c index 5638017..594aa46 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c @@ -49,7 +49,6 @@ void print_usage (void); #define UNDEFINED 0 #define DEFAULT_PORT 53 #define DEFAULT_TRIES 3 -#define DEFAULT_TIMEOUT 10 char *query_address = NULL; char *record_type = "A"; @@ -75,7 +74,6 @@ main (int argc, char **argv) long microsec; double elapsed_time; int result = STATE_UNKNOWN; - timeout_interval = DEFAULT_TIMEOUT; setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR);
