Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/apache2/mDNSResponder/dist/mDNSShared optval is int...
details: https://anonhg.NetBSD.org/src/rev/146e804c00e3
branches: trunk
changeset: 359214:146e804c00e3
user: christos <christos%NetBSD.org@localhost>
date: Sun Feb 04 20:38:41 2018 +0000
description:
optval is int not long
diffstat:
external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c | 2 +-
external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r ce8f1ef4fc68 -r 146e804c00e3 external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c
--- a/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c Sun Feb 04 20:22:42 2018 +0000
+++ b/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c Sun Feb 04 20:38:41 2018 +0000
@@ -552,7 +552,7 @@
else
{
#ifdef SO_NOSIGPIPE
- const unsigned long optval = 1;
+ const unsigned int optval = 1;
#endif
#ifndef USE_TCP_LOOPBACK
char* uds_serverpath = getenv(MDNS_UDS_SERVERPATH_ENVVAR);
diff -r ce8f1ef4fc68 -r 146e804c00e3 external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c
--- a/external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c Sun Feb 04 20:22:42 2018 +0000
+++ b/external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c Sun Feb 04 20:38:41 2018 +0000
@@ -4978,7 +4978,7 @@
dnssd_socklen_t len = (dnssd_socklen_t) sizeof(cliaddr);
dnssd_sock_t sd = accept(fd, (struct sockaddr*) &cliaddr, &len);
#if defined(SO_NOSIGPIPE) || defined(_WIN32)
- unsigned long optval = 1;
+ unsigned int optval = 1;
#endif
(void)filter; // Unused
Home |
Main Index |
Thread Index |
Old Index