NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/46693: DNS Service Discovery library uses setsockopt(2) with wrong argument



The following reply was made to PR lib/46693; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/46693: DNS Service Discovery library uses setsockopt(2) with
 wrong argument
Date: Thu, 12 Jul 2012 17:54:25 +0000

 On Thu, Jul 12, 2012 at 02:15:00AM +0000, taca%back-street.net@localhost wrote:
  > --- external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c       
25 Jan 2012 08:55:57 -0000      1.1.1.1
  > +++ external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c       
12 Jul 2012 01:14:45 -0000
  > @@ -636,7 +636,7 @@
  >     else
  >             {
  >             #ifdef SO_NOSIGPIPE
  > -           const unsigned long optval = 1;
  > +           int optval = 1;
  >             #endif
  >             *ref = NULL;
  >             sdr->sockfd    = socket(AF_DNSSD, SOCK_STREAM, 0);
  > 
 
 please just commit that.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index