Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/rpc indentation/whitespace



details:   https://anonhg.NetBSD.org/src/rev/1a49407101cc
branches:  trunk
changeset: 752815:1a49407101cc
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Mar 07 23:49:14 2010 +0000

description:
indentation/whitespace

diffstat:

 lib/libc/rpc/clnt_bcast.c |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 0b5a0865c175 -r 1a49407101cc lib/libc/rpc/clnt_bcast.c
--- a/lib/libc/rpc/clnt_bcast.c Sun Mar 07 23:45:22 2010 +0000
+++ b/lib/libc/rpc/clnt_bcast.c Sun Mar 07 23:49:14 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clnt_bcast.c,v 1.21 2010/03/07 23:45:22 dholland Exp $ */
+/*     $NetBSD: clnt_bcast.c,v 1.22 2010/03/07 23:49:14 dholland Exp $ */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)clnt_bcast.c 1.15 89/04/21 Copyr 1988 Sun Micro";
 #else
-__RCSID("$NetBSD: clnt_bcast.c,v 1.21 2010/03/07 23:45:22 dholland Exp $");
+__RCSID("$NetBSD: clnt_bcast.c,v 1.22 2010/03/07 23:49:14 dholland Exp $");
 #endif
 #endif
 
@@ -487,13 +487,15 @@
                                 * Send the version 2 packet also
                                 * for UDP/IP
                                 */
-                               if (pmap_flag && fdlist[i].proto == IPPROTO_UDP) {
-                                       if ((size_t)sendto(fdlist[i].fd, outbuf_pmap,
-                                           outlen_pmap, 0, addr,
+                               if (pmap_flag &&
+                                   fdlist[i].proto == IPPROTO_UDP) {
+                                       if ((size_t)sendto(fdlist[i].fd,
+                                           outbuf_pmap, outlen_pmap, 0, addr,
                                            (size_t)fdlist[i].asize) !=
                                                outlen_pmap) {
                                                warnx("clnt_bcast: "
-                               "Cannot send broadcast packet");
+                                                   "Cannot send "
+                                                   "broadcast packet");
                                                stat = RPC_CANTSEND;
                                                continue;
                                        }



Home | Main Index | Thread Index | Old Index