diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/40524-check_by_ssh.diff | |
download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/40524-check_by_ssh.diff')
-rw-r--r-- | web/attachments/40524-check_by_ssh.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/web/attachments/40524-check_by_ssh.diff b/web/attachments/40524-check_by_ssh.diff new file mode 100644 index 0000000..7ed93fe --- /dev/null +++ b/web/attachments/40524-check_by_ssh.diff | |||
@@ -0,0 +1,19 @@ | |||
1 | *** check_by_ssh.c.orig Thu Jan 23 23:16:08 2003 | ||
2 | --- check_by_ssh.c Thu Jan 23 23:36:15 2003 | ||
3 | *************** | ||
4 | *** 256,262 **** | ||
5 | while (p2 = index (p1, ':')) { | ||
6 | *p2 = '\0'; | ||
7 | asprintf (&service[services-1], "%s", p1); | ||
8 | ! service = realloc (service, ++services); | ||
9 | p1 = p2 + 1; | ||
10 | } | ||
11 | asprintf (&service[services-1], "%s", p1); | ||
12 | --- 256,262 ---- | ||
13 | while (p2 = index (p1, ':')) { | ||
14 | *p2 = '\0'; | ||
15 | asprintf (&service[services-1], "%s", p1); | ||
16 | ! service = realloc (service, sizeof(char *) * ++services); | ||
17 | p1 = p2 + 1; | ||
18 | } | ||
19 | asprintf (&service[services-1], "%s", p1); | ||