From 970092985ad879d26c5afed6caef706fc31d324d Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 22 Mar 1997 23:12:08 +0000 Subject: Make the argument handling for select() less bogus. Also, move the amq service from UDP to TCP for better reliability. --- usr.sbin/amd/amq/amq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/amd/amq') diff --git a/usr.sbin/amd/amq/amq.c b/usr.sbin/amd/amq/amq.c index 082a681..a9ac71c 100644 --- a/usr.sbin/amd/amq/amq.c +++ b/usr.sbin/amd/amq/amq.c @@ -37,7 +37,7 @@ * * @(#)amq.c 8.1 (Berkeley) 6/7/93 * - * $Id$ + * $Id: amq.c,v 1.4 1997/02/22 16:02:07 peter Exp $ * */ @@ -54,7 +54,7 @@ char copyright[] = "\ #endif /* not lint */ #ifndef lint -static char rcsid[] = "$Id$"; +static char rcsid[] = "$Id: amq.c,v 1.4 1997/02/22 16:02:07 peter Exp $"; static char sccsid[] = "@(#)amq.c 8.1 (Berkeley) 6/7/93"; #endif /* not lint */ @@ -409,7 +409,7 @@ Usage: %s [-h host] [[-f] [-m] [-v] [-s]] | [[-u] directory ...]] |\n\ /* * Create RPC endpoint */ - s = privsock(SOCK_STREAM); + s = RPC_ANYSOCK; clnt = clnttcp_create(&server_addr, AMQ_PROGRAM, AMQ_VERSION, &s, 0, 0); if (clnt == 0) { close(s); -- cgit v1.1