diff options
author | brian <brian@FreeBSD.org> | 1997-11-08 00:28:11 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-11-08 00:28:11 +0000 |
commit | cf98226436ed56bb8bafd7a981bf6c0ce0622912 (patch) | |
tree | 00eb1bfaebf5ce63969f09b7dfa6183fc0481a34 /usr.sbin/ppp/ccp.c | |
parent | 5cb2a472c9a3fdbbaa75efe5afcdc62cc8710007 (diff) | |
download | FreeBSD-src-cf98226436ed56bb8bafd7a981bf6c0ce0622912.zip FreeBSD-src-cf98226436ed56bb8bafd7a981bf6c0ce0622912.tar.gz |
Don't pass global vars as args.
Remove local/global conflicts.
Diffstat (limited to 'usr.sbin/ppp/ccp.c')
-rw-r--r-- | usr.sbin/ppp/ccp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ccp.c b/usr.sbin/ppp/ccp.c index 928759f..1ce6583 100644 --- a/usr.sbin/ppp/ccp.c +++ b/usr.sbin/ppp/ccp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ccp.c,v 1.16 1997/09/10 21:33:31 brian Exp $ + * $Id: ccp.c,v 1.17 1997/10/26 01:02:10 brian Exp $ * * TODO: * o Support other compression protocols @@ -209,7 +209,7 @@ CcpOpen() } static void -CcpDecodeConfig(u_char *cp, int plen, int mode) +CcpDecodeConfig(u_char *cp, int plen, int mode_type) { int type, length; char tbuff[100]; @@ -232,7 +232,7 @@ CcpDecodeConfig(u_char *cp, int plen, int mode) switch (type) { case TY_PRED1: - switch (mode) { + switch (mode_type) { case MODE_REQ: if (Acceptable(ConfPred1)) { memcpy(ackp, cp, length); |