]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/options.c
Increase the size of the buffer for option error messages
[ppp.git] / pppd / options.c
index c92e2ddfbf8e120253f1793693cc95a58ac93fcb..46097fb2a99451a278156e77ae7fe32188ceda17 100644 (file)
@@ -17,7 +17,7 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define RCSID  "$Id: options.c,v 1.76 2000/08/01 01:38:30 paulus Exp $"
+#define RCSID  "$Id: options.c,v 1.77 2000/12/27 23:25:55 paulus Exp $"
 
 #include <ctype.h>
 #include <stdio.h>
@@ -821,7 +821,7 @@ void
 option_error __V((char *fmt, ...))
 {
     va_list args;
-    char buf[256];
+    char buf[1024];
 
 #if defined(__STDC__)
     va_start(args, fmt);