svn commit: r305617 - stable/10/lib/libc/rpc

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


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

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/10/lib/libc/rpc/svc_vc.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/rpc/svc_vc.c
==============================================================================
--- stable/10/lib/libc/rpc/svc_vc.c	Thu Sep  8 15:12:20 2016	(r305616)
+++ stable/10/lib/libc/rpc/svc_vc.c	Thu Sep  8 15:12:55 2016	(r305617)
@@ -740,7 +740,7 @@ svc_vc_rendezvous_ops(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