-/* $OpenBSD: utilities.c,v 1.2 1996/03/27 19:33:15 niklas Exp $ */
+/* $OpenBSD: utilities.c,v 1.3 1996/12/12 11:24:08 robin Exp $ */
/* $NetBSD: utilities.c,v 1.5 1996/02/28 21:04:21 thorpej Exp $ */
/*
static char sccsid[] = "@(#)utilities.c 8.3 (Berkeley) 5/30/95";
static char rcsid[] = "$NetBSD: utilities.c,v 1.5 1996/02/28 21:04:21 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: utilities.c,v 1.2 1996/03/27 19:33:15 niklas Exp $";
+static char rcsid[] = "$OpenBSD: utilities.c,v 1.3 1996/12/12 11:24:08 robin Exp $";
#endif
#endif /* not lint */
#include <arpa/telnet.h>
#include <sys/types.h>
#include <sys/time.h>
-
+#include <sys/socket.h>
+#include <unistd.h>
#include <ctype.h>
#include "general.h"
# define min(x,y) ((x<y)? x:y)
unsigned char *pThis;
int offset;
- extern pettydump;
offset = 0;
int length; /* length of suboption data */
{
register int i;
- char buf[512];
extern int want_status_response;
if (showoptions || direction == 0 ||
break;
default:
- def_case:
if (isprint(pointer[i]) && pointer[i] != '"') {
if (noquote) {
putc('"', NetTrace);