summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/relay.c
diff options
context:
space:
mode:
authorhunt <hunt>2007-05-09 19:30:26 +0000
committerhunt <hunt>2007-05-09 19:30:26 +0000
commitd424e518d835535e6367dd4620d66a8eb159690c (patch)
tree979418967e2726272fe2972ebe143eb253823510 /runtime/staprun/relay.c
parentf2f1394b07bc0be3264410cfb23dd4b4499b449f (diff)
downloadsystemtap-steved-d424e518d835535e6367dd4620d66a8eb159690c.tar.gz
systemtap-steved-d424e518d835535e6367dd4620d66a8eb159690c.tar.xz
systemtap-steved-d424e518d835535e6367dd4620d66a8eb159690c.zip
2007-05-09 Martin Hunt <hunt@redhat.com>
* relay.c (reader_thread): For bulk mode, set timeout to NULL so ppoll never times out.
Diffstat (limited to 'runtime/staprun/relay.c')
-rw-r--r--runtime/staprun/relay.c2
1 files changed, 1 insertions, 1 deletions
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) {