diff options
author | Mike <mjc@avtechpulse.com> | 2000-01-01 00:02:27 +0900 |
---|---|---|
committer | Mike <mjc@avtechpulse.com> | 2000-01-01 00:02:27 +0900 |
commit | 5c6139a5a460a11757cae3a46034d0f2a085d544 (patch) | |
tree | b30b874df5fd2ddf9ff53f385877d1a36b6007fd | |
parent | d8bfe5bcdf0beeb780e3a78c641d22db10e186cc (diff) |
fix VXI timeout bug
-rw-r--r-- | vxi11_server.c | 2 |
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 |