artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3884871
)
reset timeout to null when relooping
author
tedu
<tedu@openbsd.org>
Sat, 6 Aug 2016 19:56:51 +0000
(19:56 +0000)
committer
tedu
<tedu@openbsd.org>
Sat, 6 Aug 2016 19:56:51 +0000
(19:56 +0000)
usr.sbin/rebound/rebound.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rebound/rebound.c
b/usr.sbin/rebound/rebound.c
index
f398afb
..
fb67ac0
100644
(file)
--- a/
usr.sbin/rebound/rebound.c
+++ b/
usr.sbin/rebound/rebound.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: rebound.c,v 1.6
5 2016/07/02 17:09:09
tedu Exp $ */
+/* $OpenBSD: rebound.c,v 1.6
6 2016/08/06 19:56:51
tedu Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@
-710,6
+710,7
@@
main(int argc, char **argv)
kevent(kq, &kev, 1, NULL, 0, NULL);
/* wait for something to happen: HUP or child exiting */
+ timeout = NULL;
while (1) {
r = kevent(kq, NULL, 0, &kev, 1, timeout);
if (r == -1)