Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2014 18:03:00 +0000 (UTC)
From:      Pedro F. Giffuni <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r269480 - stable/10/lib/libc/net
Message-ID:  <53de7954.5554.70243434@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Sun Aug  3 18:03:00 2014
New Revision: 269480
URL: http://svnweb.freebsd.org/changeset/base/269480

Log:
  MFC	r268867,  r268878:
  
  Use more consistent type for optlen in getsourcefilter()
  
  Proposed by:	bde

Modified:
  stable/10/lib/libc/net/sourcefilter.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/net/sourcefilter.c
==============================================================================
--- stable/10/lib/libc/net/sourcefilter.c	Sun Aug  3 16:45:07 2014	(r269479)
+++ stable/10/lib/libc/net/sourcefilter.c	Sun Aug  3 18:03:00 2014	(r269480)
@@ -337,7 +337,8 @@ getsourcefilter(int s, uint32_t interfac
 {
 	struct __msfilterreq	 msfr;
 	sockunion_t		*psu;
-	int			 err, level, nsrcs, optlen, optname;
+	socklen_t		 optlen;
+	int			 err, level, nsrcs, optname;
 
 	if (interface == 0 || group == NULL || numsrc == NULL ||
 	    fmode == NULL) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53de7954.5554.70243434>