aboutsummaryrefslogtreecommitdiff
path: root/mail/masqmail/files/patch-pop3_in.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/masqmail/files/patch-pop3_in.c')
-rw-r--r--mail/masqmail/files/patch-pop3_in.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/masqmail/files/patch-pop3_in.c b/mail/masqmail/files/patch-pop3_in.c
new file mode 100644
index 000000000000..a633dc2e3199
--- /dev/null
+++ b/mail/masqmail/files/patch-pop3_in.c
@@ -0,0 +1,11 @@
+--- src/pop3_in.c.old Mon Apr 5 01:13:51 2004
++++ src/pop3_in.c Mon Apr 5 01:15:27 2004
+@@ -372,7 +372,7 @@
+ DEBUG(5){
+ struct sockaddr_in name;
+ int len;
+- getsockname(sock, &name, &len);
++ getsockname(sock, (struct sockaddr *)(&name), &len);
+ debugf("socket: name.sin_addr = %s\n", inet_ntoa(name.sin_addr));
+ }
+ return popb;