From a0d1bbcfe45012ade2cde5a8d8e207648d0a1adf Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 3 Jul 2019 15:55:55 +0200 Subject: [PATCH] Audio: fixed wrong condition --- src/audio/audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/audio.cpp b/src/audio/audio.cpp index 50690547b..4673dd6fa 100644 --- a/src/audio/audio.cpp +++ b/src/audio/audio.cpp @@ -618,7 +618,7 @@ static void *audio_receiver_thread(void *arg) #endif #ifdef WIN32 - if (s->audio_tx_mode |= MODE_SENDER) { + if (s->audio_tx_mode & MODE_SENDER) { log_msg(LOG_LEVEL_WARNING, "Setting non-blocking receiving in MSW because sender and receiver shares a socket. Separate sender and receiver to disable this behavior\n"); nonblock = true; }