VirtualBox

Changeset 39806 in vbox


Ignore:
Timestamp:
Jan 19, 2012 10:43:04 AM (13 years ago)
Author:
vboxsync
Message:

duh!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/socket.cpp

    r39804 r39806  
    591591
    592592    /* Empty address resolves to the INADDR_ANY address (good for bind). */
    593     if (!*pszAddress)
     593    if (pszAddress || !*pszAddress)
    594594    {
    595595        pAddr->u = INADDR_ANY;
     
    647647     * It probably needs to be converted to getaddrinfo(). */
    648648    RTNETADDRIPV4 IPv4Quad;
    649     if (   !pszAddress
    650         || rtSocketIsIPv4Numerical(pszAddress, &IPv4Quad))
     649    if (rtSocketIsIPv4Numerical(pszAddress, &IPv4Quad))
    651650    {
    652651        Log3(("rtSocketIsIPv4Numerical: %#x (%RTnaipv4)\n", pszAddress, IPv4Quad.u, IPv4Quad));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette