revert part of previous that was wrong.

This commit is contained in:
christos 2011-09-28 22:19:52 +00:00
parent e244cf19e9
commit 2a89e8adcf
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: t_unix.c,v 1.2 2011/09/28 22:08:12 christos Exp $ */
/* $NetBSD: t_unix.c,v 1.3 2011/09/28 22:19:52 christos Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__RCSID("$Id: t_unix.c,v 1.2 2011/09/28 22:08:12 christos Exp $");
__RCSID("$Id: t_unix.c,v 1.3 2011/09/28 22:19:52 christos Exp $");
#include <stdio.h>
#include <err.h>
@ -59,7 +59,7 @@ acc(int s)
guard1 = guard2 = 's';
len = sizeof(len);
len = sizeof(sun);
if (accept(s, (struct sockaddr *)&sun, &len) == -1)
err(EXIT_FAILURE, "accept");
if (guard1 != 's')