summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chat.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-09 14:18:55 +0000
committerbrian <brian@FreeBSD.org>1997-11-09 14:18:55 +0000
commit164425f5cee190963d2f6bc9f9c5fc4181182f8c (patch)
treedd37825b2d0f5f8fda2bf8f5525157e9f00b4536 /usr.sbin/ppp/chat.c
parent2d2f81e9b5208b95bb5fac829423ec588f2fe578 (diff)
downloadFreeBSD-src-164425f5cee190963d2f6bc9f9c5fc4181182f8c.zip
FreeBSD-src-164425f5cee190963d2f6bc9f9c5fc4181182f8c.tar.gz
Increase chat script sizes to 512
Requested by: Michael Reifenberger <root@totum.plaut.de>
Diffstat (limited to 'usr.sbin/ppp/chat.c')
-rw-r--r--usr.sbin/ppp/chat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/chat.c b/usr.sbin/ppp/chat.c
index bf537f5..6870af1 100644
--- a/usr.sbin/ppp/chat.c
+++ b/usr.sbin/ppp/chat.c
@@ -18,7 +18,7 @@
* Columbus, OH 43221
* (614)451-1883
*
- * $Id: chat.c,v 1.36 1997/10/29 01:19:39 brian Exp $
+ * $Id: chat.c,v 1.37 1997/11/09 06:22:39 brian Exp $
*
* TODO:
* o Support more UUCP compatible control sequences.
@@ -60,7 +60,7 @@
#endif
-#define IBSIZE 200
+#define IBSIZE LINE_LEN
static int TimeoutSec;
static int abort_next, timeout_next;
@@ -235,7 +235,7 @@ ExpandString(char *str, char *result, int reslen, int sendmode)
return (result);
}
-#define MAXLOGBUFF 200
+#define MAXLOGBUFF LINE_LEN
static char logbuff[MAXLOGBUFF];
static int loglen = 0;
@@ -485,7 +485,7 @@ SendString(char *str)
{
char *cp;
int on;
- char buff[200];
+ char buff[LINE_LEN];
if (abort_next) {
abort_next = 0;
OpenPOWER on IntegriCloud