From a91067b8ba82b43d07c7888f04b5d641a509561c Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 30 Mar 2014 00:26:58 +0000 Subject: Clean up the names of the various pieces of socket apparatus. Systematic naming is easier to follow... --- hunt/huntd/answer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hunt/huntd/answer.c') diff --git a/hunt/huntd/answer.c b/hunt/huntd/answer.c index 1df0855b..8b4c789d 100644 --- a/hunt/huntd/answer.c +++ b/hunt/huntd/answer.c @@ -1,4 +1,4 @@ -/* $NetBSD: answer.c,v 1.19 2014/03/29 23:44:38 dholland Exp $ */ +/* $NetBSD: answer.c,v 1.20 2014/03/30 00:26:58 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include #ifndef lint -__RCSID("$NetBSD: answer.c,v 1.19 2014/03/29 23:44:38 dholland Exp $"); +__RCSID("$NetBSD: answer.c,v 1.20 2014/03/30 00:26:58 dholland Exp $"); #endif /* not lint */ #include @@ -76,7 +76,7 @@ answer(void) socklen = sizeof sockstruct - 1; #endif errno = 0; - newsock = accept(Socket, (struct sockaddr *) &sockstruct, &socklen); + newsock = accept(huntsock, (struct sockaddr *) &sockstruct, &socklen); if (newsock < 0) { if (errno == EINTR) -- cgit v1.2.3