diff options
author | brian <brian@FreeBSD.org> | 1998-06-15 19:06:25 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-15 19:06:25 +0000 |
commit | 13defc3317e75eb1c300da13d71fcfca0afa9fea (patch) | |
tree | b381951b12d7887e75222845d5020654bac355ca /usr.sbin/ppp/log.c | |
parent | 3f8652a3018ca60b9dd6e6cabb477c7abf044e98 (diff) | |
download | FreeBSD-src-13defc3317e75eb1c300da13d71fcfca0afa9fea.zip FreeBSD-src-13defc3317e75eb1c300da13d71fcfca0afa9fea.tar.gz |
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.
Diffstat (limited to 'usr.sbin/ppp/log.c')
-rw-r--r-- | usr.sbin/ppp/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/log.c b/usr.sbin/ppp/log.c index c530dae..01de47a 100644 --- a/usr.sbin/ppp/log.c +++ b/usr.sbin/ppp/log.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: log.c,v 1.28 1998/05/23 22:24:40 brian Exp $ + * $Id: log.c,v 1.29 1998/05/28 23:17:42 brian Exp $ */ #include <sys/types.h> @@ -34,12 +34,12 @@ #include <syslog.h> #include <termios.h> +#include "defs.h" #include "command.h" #include "mbuf.h" #include "log.h" #include "descriptor.h" #include "prompt.h" -#include "defs.h" static const char *LogNames[] = { "Async", |