openbsd-ports/mail/courier-imap/patches/patch-rfc1035_rfc1035mksocket_c
giovanni 9c573ee26e Update to 4.10.0
ok william@

Courier-imap has reset its epoch for the internal sequence number generator
for new mail folders.
Please read the UPGRADING section of the INSTALL notes for details.
http://fossies.org/unix/misc/courier-imap-4.10.0.tar.gz:a/courier-imap-4.10.0/INSTALL
2012-01-23 09:14:15 +00:00

16 lines
536 B
Plaintext

$OpenBSD: patch-rfc1035_rfc1035mksocket_c,v 1.1 2012/01/23 09:14:15 giovanni Exp $
--- rfc1035/rfc1035mksocket.c.orig Wed Dec 14 17:29:16 2011
+++ rfc1035/rfc1035mksocket.c Wed Dec 14 17:30:54 2011
@@ -27,9 +27,8 @@ int rfc1035_mksocket(int sock_type, int sock_protocol,
{
#ifdef IPV6_V6ONLY
- if (setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
- (char *)&on, sizeof(on)) < 0)
- perror("setsockopt IPV6_V6ONLY");
+ (void)setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
+ (void *)&on, sizeof(on));
#endif
return (s);