Source-Changes-HG archive

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

[src/trunk]: src/sys/netccitt Small cleanup.



details:   https://anonhg.NetBSD.org/src/rev/66afdd08bfdf
branches:  trunk
changeset: 481489:66afdd08bfdf
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Feb 01 00:02:01 2000 +0000

description:
Small cleanup.

diffstat:

 sys/netccitt/pk_llcsubr.c |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r f92de3d483c8 -r 66afdd08bfdf sys/netccitt/pk_llcsubr.c
--- a/sys/netccitt/pk_llcsubr.c Tue Feb 01 00:00:22 2000 +0000
+++ b/sys/netccitt/pk_llcsubr.c Tue Feb 01 00:02:01 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pk_llcsubr.c,v 1.8 1998/09/13 16:21:19 christos Exp $  */
+/*     $NetBSD: pk_llcsubr.c,v 1.9 2000/02/01 00:02:01 thorpej Exp $   */
 
 /* 
  * Copyright (c) 1990, 1991, 1992
@@ -390,14 +390,17 @@
 {
        register struct x25_ifaddr *x25ifa;
        struct dll_ctlinfo ctlinfo;
+       long rv;
 
        if ((x25ifa = (struct x25_ifaddr *) ifa_ifwithaddr(addr)) == 0)
                return 0;
 
-       ctlinfo.dlcti_cfg =
-               (struct dllconfig *) (((struct sockaddr_x25 *) (&x25ifa->ia_xc)) + 1);
+       ctlinfo.dlcti_cfg = (struct dllconfig *)
+           (((struct sockaddr_x25 *) (&x25ifa->ia_xc)) + 1);
        ctlinfo.dlcti_lsap = LLC_X25_LSAP;
 
-       return ((long) llc_ctlinput(prc, addr, &ctlinfo));
+       rv = (long) llc_ctlinput(prc, addr, &ctlinfo);
+
+       return (rv);
 }
 #endif                         /* LLC */



Home | Main Index | Thread Index | Old Index