VirtualBox

Changeset 85688 in vbox


Ignore:
Timestamp:
Aug 11, 2020 12:37:34 PM (4 years ago)
Author:
vboxsync
Message:

Main,FE/VBoxManage+Host: fix build: remove trailing whitespace

Location:
trunk/src/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp

    r85683 r85688  
    858858    systemProperties->COMGETTER(VBoxUpdateLastCheckDate)(str.asOutParam());
    859859    RTPrintf("Last check date:                 %ls\n", str.raw());
    860  
     860
    861861    return S_OK;
    862862}
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageUpdateCheck.cpp

    r85685 r85688  
    4848    RTGETOPTSTATE GetState;
    4949    /** @todo r=brent decide on the best approach for options to specify here */
    50     static const RTGETOPTDEF s_aOptions[] = 
     50    static const RTGETOPTDEF s_aOptions[] =
    5151    {
    5252        { "--verbose",       'v',        RTGETOPT_REQ_NOTHING }
     
    272272        return RTEXITCODE_FAILURE;
    273273    }
    274    
     274
    275275    /* HRESULT hrc = */ showProgress(progress);
    276276    CHECK_PROGRESS_ERROR_RET(progress, ("Check for update failed."), RTEXITCODE_FAILURE);
     
    314314        // VBoxManage updatecheck getsettings
    315315        return doVBoxUpdateGetSettings(a->argc - 1, &a->argv[1], a->virtualBox);
    316     } 
     316    }
    317317    else if (!strcmp(a->argv[0], "modifysettings"))
    318318    {
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r85683 r85688  
    1139311393
    1139411394    <attribute name="VBoxUpdateLastCheckDate" type="wstring" readonly="no">
    11395       <desc> 
     11395      <desc>
    1139611396        When was the update check last performed? If updating this attribute the
    1139711397        string must be in ISO 8601 format (e.g. 2020-05-11T21:13:39.348416000Z).
  • trunk/src/VBox/Main/src-server/HostUpdateImpl.cpp

    r85686 r85688  
    4848////////////////////////////////////////////////////////////////////////////////
    4949//
    50 // HostUpdate private data definition                                     
    51 //         
     50// HostUpdate private data definition
     51//
    5252////////////////////////////////////////////////////////////////////////////////
    53                                                
     53
    5454
    5555class HostUpdate::UpdateCheckTask : public ThreadTask
     
    165165                    vrc = RTPipeReadBlocking(hPipeR, achBuf, sizeof(achBuf), &cbRead);
    166166                    if (RT_SUCCESS(vrc))
    167                     {   
     167                    {
    168168                        /* grow the buffer? */
    169169                        size_t cbBufReq = offStdOutBuf + cbRead + 1;
     
    225225    }
    226226
    227     LogRelFunc(("strPlatform (Linux) = %s\n", strPlatform.c_str())); 
     227    LogRelFunc(("strPlatform (Linux) = %s\n", strPlatform.c_str()));
    228228
    229229    if (RT_FAILURE(vrc))
     
    252252            strPlatform.append("]");
    253253
    254         LogRelFunc(("strPlatform = %s\n", strPlatform.c_str())); 
     254        LogRelFunc(("strPlatform = %s\n", strPlatform.c_str()));
    255255    }
    256256
     
    287287    if (FAILED(rc))
    288288        return setErrorVrc(rc, tr("%s: IVirtualBox::revision() failed: %Rrc"), __FUNCTION__, rc);
    289     url.appendPrintf("_%ld", revision); // e.g. 135618 
     289    url.appendPrintf("_%ld", revision); // e.g. 135618
    290290
    291291    // acquire the System Properties interface
     
    343343        return rc; // ISystemProperties::setTarget calls setError() on failure
    344344
    345     LogRelFunc(("VBox update URL = %s\n", Utf8Str(url).c_str())); 
     345    LogRelFunc(("VBox update URL = %s\n", Utf8Str(url).c_str()));
    346346
    347347    // Setup the User-Agent headers for the GET request
     
    394394    if (RT_FAILURE(vrc))
    395395        return setErrorVrc(vrc, tr("%s: RTHttpGetBinary() failed: %Rrc"), __FUNCTION__, vrc);
    396    
     396
    397397    RTCList<RTCString> lstHttpReply = RTCString((char *)pvResponse, (size_t)cbResponse).split(" ", RTCString::RemoveEmptyParts);
    398398    RTHttpFreeResponse(pvResponse);
     
    538538                         TRUE /* aCancelable */);
    539539    if (FAILED(rc))
    540     { 
     540    {
    541541        return rc;
    542542    }
     
    581581
    582582HRESULT HostUpdate::getUpdateResponse(BOOL *aUpdateNeeded)
    583 {   
     583{
    584584    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    585585
     
    590590
    591591HRESULT HostUpdate::getUpdateCheckNeeded(BOOL *aUpdateCheckNeeded)
    592 {   
     592{
    593593    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    594594
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