VirtualBox

Changeset 108303 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Feb 19, 2025 4:13:33 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167647
Message:

VBoxSVC/Win: Emphasize that this is a character and not an rc in WinMain (renaming).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/win/svcmain.cpp

    r108301 r108303  
    973973    AssertRC(vrc);
    974974
     975    char            ch;
    975976    RTGETOPTUNION   ValueUnion;
    976     while ((vrc = RTGetOpt(&GetOptState, &ValueUnion)))
    977     {
    978         switch (vrc)
     977    while ((ch = RTGetOpt(&GetOptState, &ValueUnion)))
     978    {
     979        switch (ch)
    979980        {
    980981            case 'e':
     
    10561057                 * true for standard Windows applications. */
    10571058                /* continue on command line errors... */
    1058                 RTGetOptPrintError(vrc, &ValueUnion);
     1059                RTGetOptPrintError(ch, &ValueUnion);
    10591060        }
    10601061    }
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