Changeset 32535 in vbox
- Timestamp:
- Sep 15, 2010 5:57:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
r31941 r32535 370 370 if (sd == SOCKET_ERROR) /* Socket invalid. */ 371 371 { 372 VBoxServiceError("VMInfo/Network: Failed to get a socket: Error %d\n", WSAGetLastError()); 372 int wsaErr = WSAGetLastError(); 373 /* Don't complain/bail out with an error if network stack is not up; can happen 374 * on NT4 due to start up when not connected shares dialogs pop up. */ 375 if (WSAENETDOWN == wsaErr) 376 { 377 VBoxServiceVerbose(0, "VMInfo/Network: Network is not up yet.\n"); 378 wsaErr = VINF_SUCCESS; 379 } 380 else 381 VBoxServiceError("VMInfo/Network: Failed to get a socket: Error %d\n", wsaErr); 373 382 if (pAdpInfo) 374 383 RTMemFree(pAdpInfo); 375 return RTErrConvertFromWin32( WSAGetLastError());384 return RTErrConvertFromWin32(wsaErr); 376 385 } 377 386
Note:
See TracChangeset
for help on using the changeset viewer.