Build fix for Windows

This commit is contained in:
Gunnar Beutner 2015-11-10 13:09:34 +01:00
parent 0a6505ce2d
commit 1667fbaf31
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ size_t Socket::Read(void *buffer, size_t count)
#ifndef _WIN32 #ifndef _WIN32
rc = read(GetFD(), (char *)buffer, count); rc = read(GetFD(), (char *)buffer, count);
#else /* _WIN32 */ #else /* _WIN32 */
rc = recv(GetFD(), (char *)buffer, count); rc = recv(GetFD(), (char *)buffer, count, 0);
#endif /* _WIN32 */ #endif /* _WIN32 */
if (rc < 0) { if (rc < 0) {