summaryrefslogtreecommitdiffstats
path: root/lib/librpcsvc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-02-06 13:30:31 +0000
committerdes <des@FreeBSD.org>2002-02-06 13:30:31 +0000
commit0f2cb9b020b907000a28323fc57a82fdb7d6626d (patch)
treed44f2702502c982570c85130c91c845a83ea8052 /lib/librpcsvc
parent0e1bb965cc26648289a6a22baf0ad5ef4891edb4 (diff)
downloadFreeBSD-src-0f2cb9b020b907000a28323fc57a82fdb7d6626d.zip
FreeBSD-src-0f2cb9b020b907000a28323fc57a82fdb7d6626d.tar.gz
Apply the following mechanical transformations in preparation for
ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
Diffstat (limited to 'lib/librpcsvc')
-rw-r--r--lib/librpcsvc/yp_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librpcsvc/yp_update.c b/lib/librpcsvc/yp_update.c
index 5585e75..bfa1bb1 100644
--- a/lib/librpcsvc/yp_update.c
+++ b/lib/librpcsvc/yp_update.c
@@ -87,7 +87,7 @@ yp_update(domain, map, ypop, key, keylen, data, datalen)
return(YPERR_RPC);
/*
- * Assemble netname of server.
+ * Assemble netname of server.
* NOTE: It's difficult to discern from the documentation, but
* when you make a Secure RPC call, the netname you pass should
* be the netname of the guy on the other side, not your own
@@ -124,7 +124,7 @@ yp_update(domain, map, ypop, key, keylen, data, datalen)
* us right away, and we only have to exert a small amount of
* extra effort.
*/
- switch(ypop) {
+ switch (ypop) {
case YPOP_CHANGE:
upargs.mapname = map;
upargs.key.yp_buf_len = keylen;
OpenPOWER on IntegriCloud