Commit 76c1d8bf authored by Artem Prilutskiy's avatar Artem Prilutskiy

..

parent 7bc733fd
......@@ -157,7 +157,7 @@ ssize_t ReceiveRewindData(struct RewindContext* context, struct RewindData* buff
struct sockaddr_in6 address;
socklen_t size = sizeof(struct sockaddr_in6);
length = recvfrom(context->handle, buffer, BUFFER_SIZE, 0, (struct sockaddr*)&address, &size);
length = recvfrom(context->handle, buffer, length, 0, (struct sockaddr*)&address, &size);
if (length < 0)
return CLIENT_ERROR_SOCKET_IO;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment