VirtualBox

Changeset 28014 in vbox


Ignore:
Timestamp:
Apr 6, 2010 3:20:35 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
59721
Message:

Guest Control: Bugfixes for VBoxService.

Location:
trunk/src/VBox/Additions/common
Files:
2 edited

Legend:

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

    r27976 r28014  
    181181    {
    182182        rc = Msg.hdr.result;
     183
     184        Msg.flags.GetUInt32(puFlags);
     185        Msg.num_args.GetUInt32(puNumArgs);
     186        Msg.num_env.GetUInt32(puNumEnvVars);
     187        Msg.timeout.GetUInt32(puTimeLimit);
    183188    }
    184189    return rc;
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControl.cpp

    r27976 r28014  
    125125        char **ppaArg;
    126126        int iArgs;
    127         rc = RTGetOptArgvFromString(&ppaArg, &iArgs, execData.szArgs, NULL);
     127        rc = RTGetOptArgvFromString(&ppaArg, &iArgs,
     128                                    execData.uNumArgs ? execData.szArgs : "", NULL);
    128129        Assert(execData.uNumArgs == iArgs);
    129130        if (RT_SUCCESS(rc))
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