Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/hunt/hunt Remove unused.
details: https://anonhg.NetBSD.org/src/rev/503ed2176fea
branches: trunk
changeset: 328296:503ed2176fea
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Mar 30 09:11:50 2014 +0000
description:
Remove unused.
diffstat:
games/hunt/hunt/hunt.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r f08269c7c800 -r 503ed2176fea games/hunt/hunt/hunt.c
--- a/games/hunt/hunt/hunt.c Sun Mar 30 08:36:21 2014 +0000
+++ b/games/hunt/hunt/hunt.c Sun Mar 30 09:11:50 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.c,v 1.57 2014/03/30 05:46:54 dholland Exp $ */
+/* $NetBSD: hunt.c,v 1.58 2014/03/30 09:11:50 skrll Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.57 2014/03/30 05:46:54 dholland Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.58 2014/03/30 09:11:50 skrll Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -114,9 +114,7 @@
lookuphost(const struct sockaddr_storage *host, socklen_t hostlen)
{
static char buf[NI_MAXHOST];
- int flags, result;
-
- flags = NI_NOFQDN;
+ int result;
result = getnameinfo((const struct sockaddr *)host, hostlen,
buf, sizeof(buf), NULL, 0, NI_NOFQDN);
Home |
Main Index |
Thread Index |
Old Index