From f1c9af5ab191bce2a501caf214f8f1d0aef066fb Mon Sep 17 00:00:00 2001 From: gj Date: Sun, 28 Feb 1999 22:19:47 +0000 Subject: Make buf in authflags a little bigger because 2 strings can be concatenated and 20 bytes (the old size) is kind of tight. --- sbin/spppcontrol/spppcontrol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/spppcontrol') diff --git a/sbin/spppcontrol/spppcontrol.c b/sbin/spppcontrol/spppcontrol.c index 35c5bc1..e6fae76 100644 --- a/sbin/spppcontrol/spppcontrol.c +++ b/sbin/spppcontrol/spppcontrol.c @@ -26,7 +26,7 @@ #ifndef lint static const char rcsid[] = - "$Id: spppcontrol.c,v 1.4 1998/08/03 06:24:59 charnier Exp $"; + "$Id: spppcontrol.c,v 1.5 1999/02/23 21:47:05 gj Exp $"; #endif /* not lint */ #include @@ -231,7 +231,7 @@ proto_name(u_short proto) const char * authflags(u_short flags) { - static char buf[20]; + static char buf[30]; buf[0] = '\0'; if (flags & AUTHFLAG_NOCALLOUT) strcat(buf, " callin"); -- cgit v1.1