From 5c6139a5a460a11757cae3a46034d0f2a085d544 Mon Sep 17 00:00:00 2001 From: Mike Date: Sat, 1 Jan 2000 00:02:27 +0900 Subject: fix VXI timeout bug --- vxi11_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit