diff options
-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 |