From d424e518d835535e6367dd4620d66a8eb159690c Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 9 May 2007 19:30:26 +0000 Subject: 2007-05-09 Martin Hunt * relay.c (reader_thread): For bulk mode, set timeout to NULL so ppoll never times out. --- runtime/staprun/relay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/staprun/relay.c') diff --git a/runtime/staprun/relay.c b/runtime/staprun/relay.c index e7431e17..8224e762 100644 --- a/runtime/staprun/relay.c +++ b/runtime/staprun/relay.c @@ -69,7 +69,7 @@ static void *reader_thread(void *data) pollfd.events = POLLIN; do { - rc = ppoll(&pollfd, 1, &tim, &sigs); + rc = ppoll(&pollfd, 1, timeout, &sigs); if (rc < 0) { dbug(3, "poll=%d errno=%d\n", rc, errno); if (errno != EINTR) { -- cgit