svn commit: r192977 - head/lib/libc/rpc

Zachary Loafman zml at FreeBSD.org
Thu May 28 15:02:45 UTC 2009


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) {


More information about the svn-src-all mailing list