From 5f887c47739da2a6c1314fa31ed3d33c1757eea2 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 21 Mar 2020 11:36:24 +0900 Subject: [PATCH] [qwaq] Fix missed logic conversion --- ruamoko/qwaq/qwaq-curses.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruamoko/qwaq/qwaq-curses.c b/ruamoko/qwaq/qwaq-curses.c index 4503645d2..a1c9f78cb 100644 --- a/ruamoko/qwaq/qwaq-curses.c +++ b/ruamoko/qwaq/qwaq-curses.c @@ -297,7 +297,7 @@ qwaq_wait_result (qwaq_resources_t *res, int *result, int cmd, unsigned len) { pthread_mutex_lock (&res->results_cond.mut); while (RB_DATA_AVAILABLE (res->results) < len - && RB_PEEK_DATA (res->results, 0) != cmd) { + || RB_PEEK_DATA (res->results, 0) != cmd) { pthread_cond_wait (&res->results_cond.cond, &res->results_cond.mut); }