VirtualBox

Ignore:
Timestamp:
Oct 15, 2013 9:36:22 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89957
Message:

NetworkServices: coding style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp

    r49063 r49113  
    399399            for (i = 0; i < count_strs; ++i)
    400400            {
    401                 char aszAddr[17];
     401                char szAddr[17];
    402402                RTNETADDRIPV4 ip4addr;
    403403                char *pszTerm;
     
    406406                const char *pszLo2Off = strLo2Off.c_str();
    407407
    408                 RT_ZERO(aszAddr);
     408                RT_ZERO(szAddr);
    409409
    410410                pszTerm = RTStrStr(pszLo2Off, "=");
     
    413413                    && (pszTerm - pszLo2Off) <= INET_ADDRSTRLEN)
    414414                {
    415                     memcpy(aszAddr, pszLo2Off, (pszTerm - pszLo2Off));
    416                     int rc = RTNetStrToIPv4Addr(aszAddr, &ip4addr);
     415                    memcpy(szAddr, pszLo2Off, (pszTerm - pszLo2Off));
     416                    int rc = RTNetStrToIPv4Addr(szAddr, &ip4addr);
    417417                    if (RT_SUCCESS(rc))
    418418                    {
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