aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd2/files
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2002-08-15 16:10:56 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2002-08-15 16:10:56 +0000
commitac74afcf8def3b9f233aee3650bd4071568e83c5 (patch)
tree64e29022e77198cfe0fce51efb9afc94c185c486 /mail/cyrus-imapd2/files
parent90e8f6b6a15a3ab5d86c1ba3437565ffb394e786 (diff)
downloadports-ac74afcf8def3b9f233aee3650bd4071568e83c5.tar.gz
ports-ac74afcf8def3b9f233aee3650bd4071568e83c5.zip
Notes
Diffstat (limited to 'mail/cyrus-imapd2/files')
-rw-r--r--mail/cyrus-imapd2/files/patch-df8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/cyrus-imapd2/files/patch-df b/mail/cyrus-imapd2/files/patch-df
index 1b092230a8f3..e95e795d2092 100644
--- a/mail/cyrus-imapd2/files/patch-df
+++ b/mail/cyrus-imapd2/files/patch-df
@@ -1,10 +1,12 @@
Index: master/service.c
diff -u master/service.c.orig master/service.c
---- master/service.c.orig Mon Dec 17 18:08:07 2001
-+++ master/service.c Mon Dec 17 18:08:38 2001
-@@ -101,7 +101,11 @@
+--- master/service.c.orig Thu Aug 15 06:02:41 2002
++++ master/service.c Fri Aug 16 00:28:31 2002
+@@ -103,8 +103,13 @@
+ socklen_t len = sizeof(sin);
/* is this a connection from the local host? */
++ memset(&sin, 0, len);
if (getpeername(fd, (struct sockaddr *) &sin, &len) == 0) {
- if (((struct sockaddr *)&sin)->sa_family == AF_UNIX) {
+ switch (((struct sockaddr *)&sin)->sa_family) {