Source-Changes-HG archive

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

[src/trunk]: src/sys/net ppprcvframe() has indentation issues.



details:   https://anonhg.NetBSD.org/src/rev/5ad86cfea97a
branches:  trunk
changeset: 829630:5ad86cfea97a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Feb 07 06:19:43 2018 +0000

description:
ppprcvframe() has indentation issues.

diffstat:

 sys/net/ppp_tty.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r b7cd0765b124 -r 5ad86cfea97a sys/net/ppp_tty.c
--- a/sys/net/ppp_tty.c Wed Feb 07 06:18:46 2018 +0000
+++ b/sys/net/ppp_tty.c Wed Feb 07 06:19:43 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ppp_tty.c,v 1.63 2016/10/02 14:17:07 christos Exp $    */
+/*     $NetBSD: ppp_tty.c,v 1.64 2018/02/07 06:19:43 mrg Exp $ */
 /*     Id: ppp_tty.c,v 1.3 1996/07/01 01:04:11 paulus Exp      */
 
 /*
@@ -93,7 +93,7 @@
 /* from NetBSD: if_ppp.c,v 1.15.2.2 1994/07/28 05:17:58 cgd Exp */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ppp_tty.c,v 1.63 2016/10/02 14:17:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ppp_tty.c,v 1.64 2018/02/07 06:19:43 mrg Exp $");
 
 #ifdef _KERNEL_OPT
 #include "ppp.h"
@@ -530,8 +530,8 @@
                                printf(
                                    "%s: garbage received: 0x%x (need 0xFF)\n",
                                    sc->sc_if.if_xname, hdr[0]);
-                               goto bail;
-                       }
+                       goto bail;
+               }
                M_PREPEND(m,2,M_DONTWAIT);
                if (m==NULL) {
                        splx(s);
@@ -562,7 +562,7 @@
                if (sc->sc_flags & SC_DEBUG)
                        printf("%s: bad protocol %x\n", sc->sc_if.if_xname,
                                (hdr[2] << 8) + hdr[3]);
-                       goto bail;
+               goto bail;
        }
 
        /* packet beyond configured mru? */



Home | Main Index | Thread Index | Old Index