Changeset 39806 in vbox
- Timestamp:
- Jan 19, 2012 10:43:04 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/socket.cpp
r39804 r39806 591 591 592 592 /* Empty address resolves to the INADDR_ANY address (good for bind). */ 593 if ( !*pszAddress)593 if (pszAddress || !*pszAddress) 594 594 { 595 595 pAddr->u = INADDR_ANY; … … 647 647 * It probably needs to be converted to getaddrinfo(). */ 648 648 RTNETADDRIPV4 IPv4Quad; 649 if ( !pszAddress 650 || rtSocketIsIPv4Numerical(pszAddress, &IPv4Quad)) 649 if (rtSocketIsIPv4Numerical(pszAddress, &IPv4Quad)) 651 650 { 652 651 Log3(("rtSocketIsIPv4Numerical: %#x (%RTnaipv4)\n", pszAddress, IPv4Quad.u, IPv4Quad));
Note:
See TracChangeset
for help on using the changeset viewer.