From owner-svn-src-stable-10@FreeBSD.ORG Sun Aug 3 18:03:00 2014 Return-Path: Delivered-To: svn-src-stable-10@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A67E9B33 for ; Sun, 3 Aug 2014 18:03:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 784C22B61 for ; Sun, 3 Aug 2014 18:03:00 +0000 (UTC) Received: from pfg (uid 1275) (envelope-from pfg@FreeBSD.org) id 5554 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Sun, 03 Aug 2014 18:03:00 +0000 From: Pedro F. Giffuni Date: Sun, 3 Aug 2014 18:03:00 +0000 (UTC) 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 X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53de7954.5554.70243434@svn.freebsd.org> X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 18:03:00 -0000 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) {