summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-12 08:54:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-12 08:54:30 +0000
commit3545e750a77945cb188350a402097bd537d56c4d (patch)
tree40a5eaf179fd946ca7a8ab6a0df39c863b1004dd /usr.bin
parent7007acba7a7c58630ea4db946b40632ca0b73390 (diff)
extend a hostname based buffer. This code is a *NIGHTMARE*
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tn3270/sys_curses/system.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tn3270/sys_curses/system.c b/usr.bin/tn3270/sys_curses/system.c
index 00570365a83..4e6ffded463 100644
--- a/usr.bin/tn3270/sys_curses/system.c
+++ b/usr.bin/tn3270/sys_curses/system.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: system.c,v 1.6 1997/08/04 19:25:59 deraadt Exp $ */
+/* $OpenBSD: system.c,v 1.7 1998/07/12 08:54:29 deraadt Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)system.c 4.5 (Berkeley) 4/26/91";*/
-static char rcsid[] = "$OpenBSD: system.c,v 1.6 1997/08/04 19:25:59 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: system.c,v 1.7 1998/07/12 08:54:29 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -635,7 +635,7 @@ char *argv[];
{
int length;
struct sockaddr_in server;
- char sockNAME[100];
+ char sockNAME[200+MAXHOSTNAMELEN];
static char **whereAPI = 0;
int fd;
struct timeval tv;