Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/netstat correct strange indentation



details:   https://anonhg.NetBSD.org/src/rev/f018559b0b96
branches:  trunk
changeset: 550741:f018559b0b96
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Aug 19 12:52:13 2003 +0000

description:
correct strange indentation

diffstat:

 usr.bin/netstat/if.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 7cf7468b2532 -r f018559b0b96 usr.bin/netstat/if.c
--- a/usr.bin/netstat/if.c      Tue Aug 19 11:49:24 2003 +0000
+++ b/usr.bin/netstat/if.c      Tue Aug 19 12:52:13 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.55 2003/08/07 11:15:18 agc Exp $      */
+/*     $NetBSD: if.c,v 1.56 2003/08/19 12:52:13 itojun Exp $   */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94";
 #else
-__RCSID("$NetBSD: if.c,v 1.55 2003/08/07 11:15:18 agc Exp $");
+__RCSID("$NetBSD: if.c,v 1.56 2003/08/19 12:52:13 itojun Exp $");
 #endif
 #endif /* not lint */
 
@@ -185,7 +185,8 @@
                        }
 #define CP(x) ((char *)(x))
                        cp = (CP(ifaddr.ifa.ifa_addr) - CP(ifaddraddr)) +
-                               CP(&ifaddr); sa = (struct sockaddr *)cp;
+                           CP(&ifaddr);
+                       sa = (struct sockaddr *)cp;
                        switch (sa->sa_family) {
                        case AF_UNSPEC:
                                printf("%-13.13s ", "none");



Home | Main Index | Thread Index | Old Index