From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/116832-check_dig_tabspatch.diff | 38 +++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 web/attachments/116832-check_dig_tabspatch.diff (limited to 'web/attachments/116832-check_dig_tabspatch.diff') diff --git a/web/attachments/116832-check_dig_tabspatch.diff b/web/attachments/116832-check_dig_tabspatch.diff new file mode 100644 index 0000000..552c6b9 --- /dev/null +++ b/web/attachments/116832-check_dig_tabspatch.diff @@ -0,0 +1,38 @@ +Index: check_dig.c +=================================================================== +RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_dig.c,v +retrieving revision 1.39 +diff -c -r1.39 check_dig.c +*** check_dig.c 25 Dec 2004 23:17:38 -0000 1.39 +--- check_dig.c 23 Jan 2005 05:00:19 -0000 +*************** +*** 124,129 **** +--- 124,133 ---- + result = STATE_OK; + } + ++ /* rmo: 050122 - Translate output TAB -> SPACE */ ++ char *t = output; ++ while ((t = index(t, '\t')) != NULL) {*t = ' ';} ++ + } while (!strstr (input_buffer, ";; ")); + + if (result == STATE_UNKNOWN) { +*************** +*** 334,340 **** + + printf (_("\ + -a, --expected_address=STRING\n\ +! an address expected to be in the asnwer section.\n\ + if not set, uses whatever was in -l\n")); + + printf (_(UT_WARN_CRIT)); +--- 338,344 ---- + + printf (_("\ + -a, --expected_address=STRING\n\ +! an address expected to be in the answer section.\n\ + if not set, uses whatever was in -l\n")); + + printf (_(UT_WARN_CRIT)); + -- cgit v1.2.3-74-g34f1