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

Index: VirtualBox-6.1.16/src/VBox/Main/webservice/vboxweb.cpp
===================================================================
--- VirtualBox-6.1.16.orig/src/VBox/Main/webservice/vboxweb.cpp
+++ VirtualBox-6.1.16/src/VBox/Main/webservice/vboxweb.cpp
@@ -945,9 +945,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