summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/unix.c b/audio/unix.c
index ed7df0b7..d43f4d7d 100644
--- a/audio/unix.c
+++ b/audio/unix.c
@@ -1117,7 +1117,7 @@ static gboolean client_cb(GIOChannel *chan, GIOCondition cond, gpointer data)
memset(buf, 0, sizeof(buf));
- len = recv(client->sock, buf, sizeof(buf), MSG_WAITALL);
+ len = recv(client->sock, buf, sizeof(buf), 0);
if (len < 0) {
error("recv: %s (%d)", strerror(errno), errno);
goto failed;