summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 9477122)
raw | patch | inline | side by side (from parent 1: 9477122)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 26 Jan 2005 21:21:01 +0000 (21:21 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 26 Jan 2005 21:21:01 +0000 (21:21 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1108 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 c60789651492dd353c37e1f1bc320f9ab9e3d00c..4394490e8723ea0fe31c2a0a5d71ca1b0eb022b4 100644 (file)
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
char input_buffer[MAX_INPUT_BUFFER];
char *command_line;
char *output;
+ char *t;
long microsec;
double elapsed_time;
int result = STATE_UNKNOWN;
result = STATE_OK;
}
+ /* Translate output TAB -> SPACE */
+ t = output;
+ while ((t = index(t, '\t')) != NULL)
+ *t = ' ';
+
} while (!strstr (input_buffer, ";; "));
if (result == STATE_UNKNOWN) {
printf (_("\
-a, --expected_address=STRING\n\
- an address expected to be in the asnwer section.\n\
+ an address expected to be in the answer section.\n\
if not set, uses whatever was in -l\n"));
printf (_(UT_WARN_CRIT));