diff options
-rw-r--r-- | runtime/staprun/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/staprun/relay.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/runtime/staprun/ChangeLog b/runtime/staprun/ChangeLog index bf9fecef..7a27ef81 100644 --- a/runtime/staprun/ChangeLog +++ b/runtime/staprun/ChangeLog @@ -1,3 +1,8 @@ +2007-05-09 Martin Hunt <hunt@redhat.com> + + * relay.c (reader_thread): For bulk mode, set timeout to NULL + so ppoll never times out. + 2007-05-08 Martin Hunt <hunt@redhat.com> * relay.c (ppoll): Add a compatibility function for 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) { |