From c33eedceb35ef7059b65df759f9a9532c7dd9d39 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Mon, 7 Dec 2015 11:58:30 +0000 Subject: reset the slowaccept flag in sock_close() --- usr.bin/sndiod/sock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/sndiod/sock.c') diff --git a/usr.bin/sndiod/sock.c b/usr.bin/sndiod/sock.c index 5973946e4b0..c9446170d4b 100644 --- a/usr.bin/sndiod/sock.c +++ b/usr.bin/sndiod/sock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sock.c,v 1.15 2015/02/16 06:35:17 ratchov Exp $ */ +/* $OpenBSD: sock.c,v 1.16 2015/12/07 11:58:29 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * @@ -152,6 +152,7 @@ sock_close(struct sock *f) } file_del(f->file); close(f->fd); + file_slowaccept = 0; xfree(f); } -- cgit v1.2.3