VirtualBox

Ignore:
Timestamp:
Jun 15, 2017 6:29:54 AM (8 years ago)
Author:
vboxsync
Message:

netaddrstr2: indentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/net/netaddrstr2.cpp

    r67414 r67415  
    525525        switch (pMask->au8[i])
    526526        {
    527         case 0x00: iBits = 0; break;
    528         case 0x80: iBits = 1; break;
    529         case 0xc0: iBits = 2; break;
    530         case 0xe0: iBits = 3; break;
    531         case 0xf0: iBits = 4; break;
    532         case 0xf8: iBits = 5; break;
    533         case 0xfc: iBits = 6; break;
    534         case 0xfe: iBits = 7; break;
    535         case 0xff: iBits = 8; break;
    536         default:                /* non-contiguous mask */
    537             return VERR_INVALID_PARAMETER;
     527            case 0x00: iBits = 0; break;
     528            case 0x80: iBits = 1; break;
     529            case 0xc0: iBits = 2; break;
     530            case 0xe0: iBits = 3; break;
     531            case 0xf0: iBits = 4; break;
     532            case 0xf8: iBits = 5; break;
     533            case 0xfc: iBits = 6; break;
     534            case 0xfe: iBits = 7; break;
     535            case 0xff: iBits = 8; break;
     536            default:                /* non-contiguous mask */
     537                return VERR_INVALID_PARAMETER;
    538538        }
    539539
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