diff options
author | Brian Somers <brian@FreeBSD.org> | 1998-06-15 19:06:25 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1998-06-15 19:06:25 +0000 |
commit | c9e11a112d47edb5544b4bbe115837c89329c798 (patch) | |
tree | 40253fa04eff7ff4c06bd22c3f1bb07e6c19738a /usr.sbin/ppp/slcompress.c | |
parent | 30291ffb15d7e4b02d0e8de225a57dd49f655d4e (diff) | |
download | src-c9e11a112d47edb5544b4bbe115837c89329c798.tar.gz src-c9e11a112d47edb5544b4bbe115837c89329c798.zip |
Fix a rather nasty use of `static'. This caused a SEGV
when running ``link * load label'' as we ended up recursing
back into command_Interpret after nuking our command arg list.
Notes
Notes:
svn path=/head/; revision=37009
Diffstat (limited to 'usr.sbin/ppp/slcompress.c')
-rw-r--r-- | usr.sbin/ppp/slcompress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/slcompress.c b/usr.sbin/ppp/slcompress.c index bd6ca4e6c29d..503f4707b724 100644 --- a/usr.sbin/ppp/slcompress.c +++ b/usr.sbin/ppp/slcompress.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: slcompress.c,v 1.16 1998/05/21 21:48:27 brian Exp $ + * $Id: slcompress.c,v 1.17 1998/06/14 00:56:11 brian Exp $ * * Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989: * - Initial distribution. @@ -34,10 +34,10 @@ #include <string.h> #include <termios.h> +#include "defs.h" #include "command.h" #include "mbuf.h" #include "log.h" -#include "defs.h" #include "slcompress.h" #include "descriptor.h" #include "prompt.h" |