mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Build fix for Windows
This commit is contained in:
parent
0a6505ce2d
commit
1667fbaf31
@ -301,7 +301,7 @@ size_t Socket::Read(void *buffer, size_t count)
|
||||
#ifndef _WIN32
|
||||
rc = read(GetFD(), (char *)buffer, count);
|
||||
#else /* _WIN32 */
|
||||
rc = recv(GetFD(), (char *)buffer, count);
|
||||
rc = recv(GetFD(), (char *)buffer, count, 0);
|
||||
#endif /* _WIN32 */
|
||||
|
||||
if (rc < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user