diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 16:01:51 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 16:01:51 +0000 |
commit | 05c18861dd58a08076d0fa97f72cb88c4a5698e5 (patch) | |
tree | 44213053eba92e81452144bb67dba9a6f62841a9 /cpukit/pppd/cbcp.c | |
parent | Whitespace removal. (diff) | |
download | rtems-05c18861dd58a08076d0fa97f72cb88c4a5698e5.tar.bz2 |
Whitespace removal.
Diffstat (limited to 'cpukit/pppd/cbcp.c')
-rw-r--r-- | cpukit/pppd/cbcp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/pppd/cbcp.c b/cpukit/pppd/cbcp.c index b64e95b483..eb750838cc 100644 --- a/cpukit/pppd/cbcp.c +++ b/cpukit/pppd/cbcp.c @@ -166,7 +166,7 @@ cbcp_input(unit, inpacket, pktlen) #endif len -= CBCP_MINLEN; - + switch(code) { case CBCP_REQ: us->us_id = id; @@ -229,7 +229,7 @@ cbcp_printpkt(p, plen, printer, arg) if (code >= 1 && code <= sizeof(cbcp_codenames) / sizeof(char *)) printer(arg, " %s", cbcp_codenames[code-1]); else - printer(arg, " code=0x%x", code); + printer(arg, " code=0x%x", code); printer(arg, " id=0x%x", id); len -= HEADERLEN; @@ -252,7 +252,7 @@ cbcp_printpkt(p, plen, printer, arg) if (opt >= 1 && opt <= sizeof(cbcp_optionnames) / sizeof(char *)) printer(arg, " %s", cbcp_optionnames[opt-1]); else - printer(arg, " option=0x%x", opt); + printer(arg, " option=0x%x", opt); if (olen > 2) { GETCHAR(delay, p); @@ -401,13 +401,13 @@ cbcp_send(us, code, buf, len) outp = outpacket_buf; outlen = 4 + len; - + MAKEHEADER(outp, PPP_CBCP); PUTCHAR(code, outp); PUTCHAR(us->us_id, outp); PUTSHORT(outlen, outp); - + if (len) BCOPY(buf, outp, len); @@ -427,7 +427,7 @@ cbcp_recvack(us, pckt, len) if (len) { GETCHAR(type, pckt); GETCHAR(opt_len, pckt); - + if (opt_len > 2) GETCHAR(delay, pckt); |