Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2009 15:02:44 +0000 (UTC)
From:      Zachary Loafman <zml@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192977 - head/lib/libc/rpc
Message-ID:  <200905281502.n4SF2i0t041135@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zml
Date: Thu May 28 15:02:44 2009
New Revision: 192977
URL: http://svn.freebsd.org/changeset/base/192977

Log:
  Match type for socket option (in practice, unnecessary, but stylistically it's a little nicer).
  
  Suggested by:       jilles
  Approved by:        dfr (mentor)

Modified:
  head/lib/libc/rpc/svc_generic.c

Modified: head/lib/libc/rpc/svc_generic.c
==============================================================================
--- head/lib/libc/rpc/svc_generic.c	Thu May 28 15:02:21 2009	(r192976)
+++ head/lib/libc/rpc/svc_generic.c	Thu May 28 15:02:44 2009	(r192977)
@@ -199,7 +199,7 @@ svc_tli_create(fd, nconf, bindaddr, send
 	struct __rpc_sockinfo si;
 	struct sockaddr_storage ss;
 	socklen_t slen;
-	static const uint32_t true_value = 1;
+	static const int true_value = 1;
 
 	if (fd == RPC_ANYFD) {
 		if (nconf == NULL) {



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