summaryrefslogtreecommitdiffstats
path: root/web/attachments/116832-check_dig_tabspatch.diff
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/116832-check_dig_tabspatch.diff
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
Diffstat (limited to 'web/attachments/116832-check_dig_tabspatch.diff')
-rw-r--r--web/attachments/116832-check_dig_tabspatch.diff38
1 files changed, 38 insertions, 0 deletions
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 @@
1Index: check_dig.c
2===================================================================
3RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_dig.c,v
4retrieving revision 1.39
5diff -c -r1.39 check_dig.c
6*** check_dig.c 25 Dec 2004 23:17:38 -0000 1.39
7--- check_dig.c 23 Jan 2005 05:00:19 -0000
8***************
9*** 124,129 ****
10--- 124,133 ----
11 result = STATE_OK;
12 }
13
14+ /* rmo: 050122 - Translate output TAB -> SPACE */
15+ char *t = output;
16+ while ((t = index(t, '\t')) != NULL) {*t = ' ';}
17+
18 } while (!strstr (input_buffer, ";; "));
19
20 if (result == STATE_UNKNOWN) {
21***************
22*** 334,340 ****
23
24 printf (_("\
25 -a, --expected_address=STRING\n\
26! an address expected to be in the asnwer section.\n\
27 if not set, uses whatever was in -l\n"));
28
29 printf (_(UT_WARN_CRIT));
30--- 338,344 ----
31
32 printf (_("\
33 -a, --expected_address=STRING\n\
34! an address expected to be in the answer section.\n\
35 if not set, uses whatever was in -l\n"));
36
37 printf (_(UT_WARN_CRIT));
38