]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common source file change not directly applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Wed, 10 Jun 2020 19:05:42 +0000 (12:05 -0700)
committerOliver Kurth <okurth@vmware.com>
Wed, 10 Jun 2020 19:05:42 +0000 (12:05 -0700)
open-vm-tools/lib/asyncsocket/asyncSocketInterface.c

index fdf45a930b29db78bf5f15be9d658bdf2538177b..dc31d166f4de4b897057f64b9bdf132c6b7515aa 100644 (file)
@@ -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,