svn commit: r305616 - stable/11/lib/libc/rpc

Pedro F. Giffuni pfg at FreeBSD.org
Thu Sep 8 15:12:21 UTC 2016


Author: pfg
Date: Thu Sep  8 15:12:20 2016
New Revision: 305616
URL: https://svnweb.freebsd.org/changeset/base/305616

Log:
  MFC r303889:
  libc/rpc: replace comma with semicolon when pertinent.
  
  Uses of commas instead of a semicolons can easily go undetected. The comma
  can serve as a statement separator but this shouldn't be abused when
  statements are meant to be standalone.

Modified:
  stable/11/lib/libc/rpc/svc_vc.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libc/rpc/svc_vc.c
==============================================================================
--- stable/11/lib/libc/rpc/svc_vc.c	Thu Sep  8 15:06:28 2016	(r305615)
+++ stable/11/lib/libc/rpc/svc_vc.c	Thu Sep  8 15:12:20 2016	(r305616)
@@ -700,7 +700,7 @@ svc_vc_rendezvous_ops(SVCXPRT *xprt)
 		ops.xp_reply =
 		    (bool_t (*)(SVCXPRT *, struct rpc_msg *))abort;
 		ops.xp_freeargs =
-		    (bool_t (*)(SVCXPRT *, xdrproc_t, void *))abort,
+		    (bool_t (*)(SVCXPRT *, xdrproc_t, void *))abort;
 		ops.xp_destroy = svc_vc_destroy;
 		ops2.xp_control = svc_vc_rendezvous_control;
 	}


More information about the svn-src-all mailing list