diff options
author | Mats O Jansson <maja@cvs.openbsd.org> | 2002-09-06 21:37:39 +0000 |
---|---|---|
committer | Mats O Jansson <maja@cvs.openbsd.org> | 2002-09-06 21:37:39 +0000 |
commit | 939b2dea8273cec88ca17651e21ab32817f01c77 (patch) | |
tree | 0ed10b442d35d62e98fed6c6a67709598fa377cb /usr.sbin | |
parent | 0a47fe91f13dc4c214b431ae0ec49c4123e6d429 (diff) |
get correct parameter type to res_search. -moj
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ypserv/mkalias/mkalias.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/mkalias/mkalias.c b/usr.sbin/ypserv/mkalias/mkalias.c index fc7f38c4c6d..febe1c4cdf5 100644 --- a/usr.sbin/ypserv/mkalias/mkalias.c +++ b/usr.sbin/ypserv/mkalias/mkalias.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkalias.c,v 1.11 2002/07/19 20:59:40 deraadt Exp $ */ +/* $OpenBSD: mkalias.c,v 1.12 2002/09/06 21:37:38 maja Exp $ */ /* * Copyright (c) 1997 Mats O Jansson <moj@stacken.kth.se> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: mkalias.c,v 1.11 2002/07/19 20:59:40 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: mkalias.c,v 1.12 2002/09/06 21:37:38 maja Exp $"; #endif #include <ctype.h> @@ -87,7 +87,7 @@ split_address(char *address, int len, char *user, char *host) int check_host(char *address, char *host, int dflag, int uflag, int Eflag) { - char answer[PACKETSZ]; + u_char answer[PACKETSZ]; int status; if ((dflag && strchr(address, '@')) || |