VirtualBox

Ignore:
Timestamp:
Apr 4, 2010 2:16:32 PM (15 years ago)
Author:
vboxsync
Message:

*: scm cleans up whitespace and adds a new line at the end of ApplianceimplPrivate.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/GuestImpl.cpp

    r27945 r27976  
    229229    AutoCaller autoCaller(this);
    230230    if (FAILED(autoCaller.rc())) return autoCaller.rc();
    231  
     231
    232232    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    233233
     
    252252}
    253253
    254 STDMETHODIMP Guest::InternalGetStatistics(ULONG aCpuId, ULONG *aCpuUser, ULONG *aCpuKernel, ULONG *aCpuIdle, 
     254STDMETHODIMP Guest::InternalGetStatistics(ULONG aCpuId, ULONG *aCpuUser, ULONG *aCpuKernel, ULONG *aCpuIdle,
    255255                                          ULONG *aMemTotal, ULONG *aMemFree, ULONG *aMemBalloon, ULONG *aMemCache,
    256256                                          ULONG *aPageTotal, ULONG *aPageFree)
     
    387387    {
    388388        uint32_t cbNewLen = *pcbList + cbLen + 1; /* Include zero termination. */
    389         char *pvTmp = (char*)RTMemRealloc(*ppvList, cbNewLen);       
     389        char *pvTmp = (char*)RTMemRealloc(*ppvList, cbNewLen);
    390390        if (NULL == pvTmp)
    391391        {
     
    445445
    446446        AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    447        
     447
    448448        /* Just be on the safe side when calling another process. */
    449449        alock.leave();
    450      
     450
    451451        HRESULT rc = E_UNEXPECTED;
    452452        using namespace guestControl;
    453    
    454         int vrc = VINF_SUCCESS; 
     453
     454        int vrc = VINF_SUCCESS;
    455455        Utf8Str Utf8Command(aCommand);
    456456
    457         /* Prepare arguments. */       
     457        /* Prepare arguments. */
    458458        void *pvArgs;
    459459        uint32_t uNumArgs;
     
    461461
    462462        const char *pszCurArg = Utf8Str(aArguments).raw();
    463         vrc = prepareExecuteArgs(pszCurArg, 
     463        vrc = prepareExecuteArgs(pszCurArg,
    464464                                 &pvArgs, &cbArgs, &uNumArgs);
    465465        if (RT_SUCCESS(vrc))
     
    487487                Utf8Str Utf8UserName(aUserName);
    488488                Utf8Str Utf8Password(aPassword);
    489            
     489
    490490                VBOXHGCMSVCPARM paParms[13];
    491491                int i = 0;
     
    529529    };
    530530
    531     return rc;   
     531    return rc;
    532532#endif /* VBOX_WITH_GUEST_CONTROL */
    533533}
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