summaryrefslogtreecommitdiffstats
path: root/web/attachments/40524-check_by_ssh.diff
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/40524-check_by_ssh.diff')
-rw-r--r--web/attachments/40524-check_by_ssh.diff19
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);