1
0
forked from pool/virtualbox
virtualbox/handle_gsoap_208103.patch

18 lines
732 B
Diff
Raw Normal View History

Index: VirtualBox-6.1.8/src/VBox/Main/webservice/vboxweb.cpp
===================================================================
--- VirtualBox-6.1.8.orig/src/VBox/Main/webservice/vboxweb.cpp
+++ VirtualBox-6.1.8/src/VBox/Main/webservice/vboxweb.cpp
@@ -944,7 +944,11 @@ static void doQueuesLoop()
if (rv == 0)
continue; // timeout, not necessary to bother gsoap
// r < 0, errno
- if (soap_socket_errno(soap.master) == SOAP_EINTR)
+#if GSOAP_VERSION >= 208103
+ if (soap_socket_errno == SOAP_EINTR)
+#else
+ if (soap_socket_errno(fd) == SOAP_EINTR)
+#endif
rv = 0; // re-check if we should terminate
break;
}