summaryrefslogtreecommitdiff
path: root/deskutils/plan/files/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/plan/files/patch-ag')
-rw-r--r--deskutils/plan/files/patch-ag19
1 files changed, 19 insertions, 0 deletions
diff --git a/deskutils/plan/files/patch-ag b/deskutils/plan/files/patch-ag
new file mode 100644
index 000000000000..11f6f42b7712
--- /dev/null
+++ b/deskutils/plan/files/patch-ag
@@ -0,0 +1,19 @@
+*** src/network.c.orig Sun Apr 14 21:17:43 1996
+--- src/network.c Sun Apr 14 21:18:18 1996
+***************
+*** 165,171 ****
+ addr.sin_family = AF_INET;
+ addr.sin_port = config.net_port;
+ memcpy(&addr.sin_addr, hent->h_addr, sizeof(hent->h_length));
+! if (connect(fd, &addr, sizeof(addr)) < 0) {
+ sprintf(msg+strlen(msg),
+ "User file %s on host %s: cannot connect\n",
+ user[u].name, uhost);
+--- 165,171 ----
+ addr.sin_family = AF_INET;
+ addr.sin_port = config.net_port;
+ memcpy(&addr.sin_addr, hent->h_addr, sizeof(hent->h_length));
+! if (connect(fd, (struct sockaddr *)&addr, sizeof(addr)) < 0) {
+ sprintf(msg+strlen(msg),
+ "User file %s on host %s: cannot connect\n",
+ user[u].name, uhost);