mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
[qwaq] Fix missed logic conversion
This commit is contained in:
parent
7beaa567e6
commit
5f887c4773
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue