summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ccp.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-12-17 21:21:53 +0000
committerbrian <brian@FreeBSD.org>1997-12-17 21:21:53 +0000
commitee37461631d0b49d624adc41e1a5c55f7b5bbd08 (patch)
tree272d08d7a5636238277d832e43feba7d42a71f52 /usr.sbin/ppp/ccp.c
parentb8bde84af7f83ae81e7154305167a8b3a1cb4a79 (diff)
downloadFreeBSD-src-ee37461631d0b49d624adc41e1a5c55f7b5bbd08.zip
FreeBSD-src-ee37461631d0b49d624adc41e1a5c55f7b5bbd08.tar.gz
Remove useless comparison.
Diffstat (limited to 'usr.sbin/ppp/ccp.c')
-rw-r--r--usr.sbin/ppp/ccp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ccp.c b/usr.sbin/ppp/ccp.c
index b9c8d90..6d0b185 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.23 1997/12/04 18:49:32 brian Exp $
+ * $Id: ccp.c,v 1.24 1997/12/13 02:37:21 brian Exp $
*
* TODO:
* o Support other compression protocols
@@ -290,8 +290,6 @@ CcpDecodeConfig(u_char *cp, int plen, int mode_type)
rejp = RejBuff;
while (plen >= sizeof(struct fsmconfig)) {
- if (plen < 0)
- break;
type = *cp;
length = cp[1];
if (type < NCFTYPES)
OpenPOWER on IntegriCloud