From: Oliver Kurth Date: Wed, 10 Jun 2020 19:05:42 +0000 (-0700) Subject: Common source file change not directly applicable to open-vm-tools. X-Git-Tag: stable-11.2.0~184 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=421e77f5cbb0436bbafdb4d2ec7c39e637061838;p=thirdparty%2Fopen-vm-tools.git Common source file change not directly applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/asyncsocket/asyncSocketInterface.c b/open-vm-tools/lib/asyncsocket/asyncSocketInterface.c index fdf45a930..dc31d166f 100644 --- a/open-vm-tools/lib/asyncsocket/asyncSocketInterface.c +++ b/open-vm-tools/lib/asyncsocket/asyncSocketInterface.c @@ -1474,7 +1474,7 @@ AsyncSocket_SetWebSocketCookie(AsyncSocket *asock, // IN const char *path, // IN const char *sessionId) // IN { - int ret = ASOCKERR_GENERIC; + int ret = ASOCKERR_INVAL; if (VALID(asock, setWebSocketCookie)) { AsyncSocketLock(asock); ret = VT(asock)->setWebSocketCookie(asock, clientData, path, sessionId); @@ -1569,7 +1569,7 @@ int AsyncSocket_SetDelayWebSocketUpgradeResponse(AsyncSocket *asock, // IN Bool delayWebSocketUpgradeResponse) // IN { - int ret = ASOCKERR_GENERIC; + int ret = ASOCKERR_INVAL; if (VALID(asock, setDelayWebSocketUpgradeResponse)) { AsyncSocketLock(asock); ret = VT(asock)->setDelayWebSocketUpgradeResponse(asock,