diff options
author | 2021-01-12 21:35:12 +0000 | |
---|---|---|
committer | 2021-01-12 21:35:12 +0000 | |
commit | 9ce78a4be1e7363c4471f762a844b673f2ece1bc (patch) | |
tree | 51169435b233d1936c0ae1a3b193fffd19e38de8 | |
parent | Fix regress to compile and run on current. Still not hooked up. (diff) | |
download | wireguard-openbsd-9ce78a4be1e7363c4471f762a844b673f2ece1bc.tar.xz wireguard-openbsd-9ce78a4be1e7363c4471f762a844b673f2ece1bc.zip |
Tweak previous.
-rw-r--r-- | regress/lib/libagentx/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libagentx/main.c b/regress/lib/libagentx/main.c index 6c0e522aad4..2a60cd305d7 100644 --- a/regress/lib/libagentx/main.c +++ b/regress/lib/libagentx/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.3 2021/01/12 20:58:21 rob Exp $ */ +/* $OpenBSD: main.c,v 1.4 2021/01/12 21:35:12 rob Exp $ */ /* * Copyright (c) 2019 Martijn van Duren <martijn@openbsd.org> @@ -309,7 +309,7 @@ main(int argc, char *argv[]) pfd[0].fd = rev.ev_fd; pfd[0].events = POLLIN; - while (poll(pfd,1,200)) + while (poll(pfd,1,200) > 0) event_loop(EVLOOP_ONCE); regress_shutdown(); |