VirtualBox

Ignore:
Timestamp:
Jul 4, 2008 3:50:36 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32822
Message:

Guest properties: added some missing ifdefs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp

    r10143 r10234  
    210210#ifdef VBOX_WITH_INFO_SVC
    211211    { "getguestproperty", getGuestProperty },
    212     { "setguestproperty", setGuestProperty }
     212    { "setguestproperty", setGuestProperty },
    213213#endif
     214    { NULL, NULL }  /* terminator */
    214215};
    215216
     
    314315            /** And if so, what is its position in the table? */
    315316            unsigned index = 0;
    316             while (index < RT_ELEMENTS(g_commandHandlers) && !found)
     317            while (   index < RT_ELEMENTS(g_commandHandlers)
     318                   && !found
     319                   && (g_commandHandlers[index].command != NULL))
    317320            {
    318321                if (0 == strcmp(argv[iArg], g_commandHandlers[index].command))
Note: See TracChangeset for help on using the changeset viewer.

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