summaryrefslogtreecommitdiff
path: root/vxi11_server.c
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 00:02:27 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 00:02:27 +0900
commit5c6139a5a460a11757cae3a46034d0f2a085d544 (patch)
treeb30b874df5fd2ddf9ff53f385877d1a36b6007fd /vxi11_server.c
parentd8bfe5bcdf0beeb780e3a78c641d22db10e186cc (diff)
fix VXI timeout bug
Diffstat (limited to 'vxi11_server.c')
-rw-r--r--vxi11_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vxi11_server.c b/vxi11_server.c
index c5024a7..a15a7ef 100644
--- a/vxi11_server.c
+++ b/vxi11_server.c
@@ -175,7 +175,7 @@ static bool waitforio(long timeout)
}
usleep(250);
timeout -= 250;
- } while (timeout < 0);
+ } while (timeout > 0);
#ifdef DEBUG
printf("timeout waiting for command to finish\n");
#endif