diff options
Diffstat (limited to 'libvncserver/httpd.c')
-rwxr-xr-x | libvncserver/httpd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvncserver/httpd.c b/libvncserver/httpd.c index 320e6d2..ad2a51b 100755 --- a/libvncserver/httpd.c +++ b/libvncserver/httpd.c @@ -269,6 +269,9 @@ httpProcessInput(rfbScreenInfoPtr rfbScreen) if (got == 0) { rfbErr("httpd: premature connection close\n"); } else { +#ifdef WIN32 + errno=WSAGetLastError(); +#endif if (errno == EAGAIN) { return; } |