summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 41367d9)
raw | patch | inline | side by side (parent: 41367d9)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Tue, 12 Nov 2002 11:28:58 +0000 (11:28 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Tue, 12 Nov 2002 11:28:58 +0000 (11:28 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@189 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_dig.c | patch | blob | history |
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index fcd5d0ddfbadfaf83af9baf4bcb470fb5ac0b06a..ba41ebda361eab74d6836b1ff332ed0a2e637bf6 100644 (file)
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
#define SUMMARY "Test the DNS service on the specified host using dig\n"
int process_arguments (int, char **);
-int call_getopt (int, char **);
int validate_arguments (void);
-int check_disk (int usp, int free_disk);
void print_help (void);
void print_usage (void);
usage ("Could not parse arguments\n");
/* get the command to run */
- command_line =
- ssprintf (command_line, "%s @%s %s", PATH_TO_DIG, dns_server,
- query_address);
+ asprintf (&command_line, "%s @%s %s", PATH_TO_DIG, dns_server, query_address);
alarm (timeout_interval);
time (&start_time);