diff options
| author | dholland <dholland@NetBSD.org> | 2014-03-30 00:26:58 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2014-03-30 00:26:58 +0000 |
| commit | a91067b8ba82b43d07c7888f04b5d641a509561c (patch) | |
| tree | 9347b897bfb8c62636431997f8d6b6fd4ed04dd6 /hunt/huntd/answer.c | |
| parent | e53e70033dc782eccd9e460365fc696efb234a8d (diff) | |
| download | bsdgames-darwin-a91067b8ba82b43d07c7888f04b5d641a509561c.tar.gz bsdgames-darwin-a91067b8ba82b43d07c7888f04b5d641a509561c.zip | |
Clean up the names of the various pieces of socket apparatus.
Systematic naming is easier to follow...
Diffstat (limited to 'hunt/huntd/answer.c')
| -rw-r--r-- | hunt/huntd/answer.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <sys/cdefs.h> #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 <sys/types.h> @@ -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) |
