diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-05-14 02:32:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-05-14 02:32:34 +0000 |
commit | 1e76c9c90ca3bced88306f8c721148abb28c9b7b (patch) | |
tree | a5f1c29c22bb7b11b3ca4386e3157afc5b278ea2 /usr.sbin/ypserv/yppush/yppush.c | |
parent | 98137f511493da4a56a3a935538bd9c05c825660 (diff) |
knf
Diffstat (limited to 'usr.sbin/ypserv/yppush/yppush.c')
-rw-r--r-- | usr.sbin/ypserv/yppush/yppush.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/yppush/yppush.c b/usr.sbin/ypserv/yppush/yppush.c index d449cf514fc..8798c75a72c 100644 --- a/usr.sbin/ypserv/yppush/yppush.c +++ b/usr.sbin/ypserv/yppush/yppush.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yppush.c,v 1.21 2003/07/15 06:10:46 deraadt Exp $ */ +/* $OpenBSD: yppush.c,v 1.22 2005/05/14 02:32:33 deraadt Exp $ */ /* * Copyright (c) 1995 Mats O Jansson <moj@stacken.kth.se> @@ -27,7 +27,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: yppush.c,v 1.21 2003/07/15 06:10:46 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: yppush.c,v 1.22 2005/05/14 02:32:33 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -150,11 +150,10 @@ push(int inlen, char *indata) char host[MAXHOSTNAMELEN]; CLIENT *client; SVCXPRT *transp; - int sock = RPC_ANYSOCK; + int sock = RPC_ANYSOCK, status; u_int prog; bool_t sts = 0; pid_t pid; - int status; struct rusage res; snprintf(host, sizeof host, "%*.*s" ,inlen ,inlen, indata); |