diff options
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) |