summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp')
-rw-r--r--AudioManagerDaemon/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AudioManagerDaemon/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp b/AudioManagerDaemon/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp
index d6aec07..09e0ea7 100644
--- a/AudioManagerDaemon/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp
+++ b/AudioManagerDaemon/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp
@@ -313,7 +313,7 @@ void am::CAmSamplePlugin::receiveData(const pollfd pollfd, const sh_pollHandle_t
//initialize buffer
char buffer[10];
//read until buffer is full or no more data is there
- int read = recv(pollfd.fd, buffer, 7, NULL);
+ int read = recv(pollfd.fd, buffer, 7, 0);
if (read > 1)
{
//read the message and store it in a queue