aboutsummaryrefslogtreecommitdiffstats
path: root/mail/youbin/files/patch-ad
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-08-21 09:06:55 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-08-21 09:06:55 +0000
commitf6d645c05f62318d39edb1a2b07aa6415d02a486 (patch)
tree1fdb1f96e1efda931f8d160c69ff9d58f0ecf84b /mail/youbin/files/patch-ad
parent5dd6d5383bcad855f9103c9690560de7f111dd71 (diff)
Remote (network) biff.
Submitted by: max@sfc.wide.ad.jp
Diffstat (limited to 'mail/youbin/files/patch-ad')
-rw-r--r--mail/youbin/files/patch-ad20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/youbin/files/patch-ad b/mail/youbin/files/patch-ad
new file mode 100644
index 000000000000..ac074f69825e
--- /dev/null
+++ b/mail/youbin/files/patch-ad
@@ -0,0 +1,20 @@
+diff -c sendto.c.orig sendto.c
+*** sendto.c.orig Mon Aug 1 21:59:07 1994
+--- sendto.c Wed Aug 7 13:48:46 1996
+***************
+*** 107,113 ****
+ int len;
+
+ len = strlen(message);
+! if (sendto(sockid, message, len, 0, &sa, sizeof(sa)) != len) {
+ sprintf(err_msg, "Error in sending packet");
+ return (err_msg);
+ }
+--- 107,113 ----
+ int len;
+
+ len = strlen(message);
+! if (sendto(sockid, message, len, 0, (struct sockaddr *)&sa, sizeof(sa)) != len) {
+ sprintf(err_msg, "Error in sending packet");
+ return (err_msg);
+ }