summaryrefslogtreecommitdiff
path: root/src/VBox/Devices/Storage/DrvVD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Devices/Storage/DrvVD.cpp')
-rw-r--r--src/VBox/Devices/Storage/DrvVD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Devices/Storage/DrvVD.cpp b/src/VBox/Devices/Storage/DrvVD.cpp
index d9faea633..2b906cb24 100644
--- a/src/VBox/Devices/Storage/DrvVD.cpp
+++ b/src/VBox/Devices/Storage/DrvVD.cpp
@@ -744,7 +744,7 @@ static DECLCALLBACK(int) drvvdINIPSelectOne(VDSOCKET Sock, RTMSINTERVAL cMillies
PINIPSOCKET pSocketInt = (PINIPSOCKET)Sock;
fd_set fdsetR;
FD_ZERO(&fdsetR);
- FD_SET((uintptr_t)Sock, &fdsetR);
+ FD_SET((uintptr_t)pSocketInt->hSock, &fdsetR);
fd_set fdsetE = fdsetR;
int rc;