Module Name:    src
Committed By:   christos
Date:           Sun Feb  4 20:38:41 UTC 2018

Modified Files:
        src/external/apache2/mDNSResponder/dist/mDNSShared: dnssd_clientstub.c
            uds_daemon.c

Log Message:
optval is int not long


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
    src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c \
    src/external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c
diff -u src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c:1.10 src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c:1.11
--- src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c:1.10	Sun Jan 14 15:04:56 2018
+++ src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c	Sun Feb  4 15:38:41 2018
@@ -552,7 +552,7 @@ static DNSServiceErrorType ConnectToServ
     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);
Index: src/external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c
diff -u src/external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c:1.10 src/external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c:1.11
--- src/external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c:1.10	Sun Jan 14 15:04:56 2018
+++ src/external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c	Sun Feb  4 15:38:41 2018
@@ -4978,7 +4978,7 @@ mDNSlocal void connect_callback(int fd, 
     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

Reply via email to