diff options
author | 1998-07-12 08:54:29 +0000 | |
---|---|---|
committer | 1998-07-12 08:54:29 +0000 | |
commit | 5472719782a1410b95a2bc1aa5c44fd8a23c9fdd (patch) | |
tree | a0db324d2fc280c19e1366016fe98f22f16edd10 | |
parent | Kill pnp.4, need to write/get an isapnp.4. (diff) | |
download | wireguard-openbsd-5472719782a1410b95a2bc1aa5c44fd8a23c9fdd.tar.xz wireguard-openbsd-5472719782a1410b95a2bc1aa5c44fd8a23c9fdd.zip |
extend a hostname based buffer. This code is a *NIGHTMARE*
-rw-r--r-- | usr.bin/tn3270/sys_curses/system.c | 6 |
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; |