diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2015-12-07 11:58:30 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2015-12-07 11:58:30 +0000 |
commit | c33eedceb35ef7059b65df759f9a9532c7dd9d39 (patch) | |
tree | 8635d1b229558a823886d595f360df7e8f8af1e1 /usr.bin/sndiod/sock.c | |
parent | d168ef8fbaf7a045136d58abbabe59665499a9eb (diff) |
reset the slowaccept flag in sock_close()
Diffstat (limited to 'usr.bin/sndiod/sock.c')
-rw-r--r-- | usr.bin/sndiod/sock.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <alex@caoua.org> * @@ -152,6 +152,7 @@ sock_close(struct sock *f) } file_del(f->file); close(f->fd); + file_slowaccept = 0; xfree(f); } |