File handle_gsoap_208103.patch of Package virtualbox.openSUSE_Leap_15.3_Update

Index: VirtualBox-7.0.4/src/VBox/Main/webservice/vboxweb.cpp
===================================================================
--- VirtualBox-7.0.4.orig/src/VBox/Main/webservice/vboxweb.cpp
+++ VirtualBox-7.0.4/src/VBox/Main/webservice/vboxweb.cpp
@@ -955,9 +955,9 @@ static void doQueuesLoop()
                     continue; // timeout, not necessary to bother gsoap
                 // r < 0, errno
 #if GSOAP_VERSION >= 208103
-                if (soap_socket_errno == SOAP_EINTR)
+		if (soap_socket_errno == SOAP_EINTR)
 #else
-                if (soap_socket_errno(soap.master) == SOAP_EINTR)
+		if (soap_socket_errno(fd) == SOAP_EINTR)
 #endif
                     rv = 0; // re-check if we should terminate
                 break;
openSUSE Build Service is sponsored by