VirtualBox

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


Ignore:
Timestamp:
Oct 13, 2022 2:59:51 PM (2 years ago)
Author:
vboxsync
Message:

Main/Guest Control: Fixed some docs typos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp

    r96617 r97137  
    6868#define ISOFILE_FLAG_COPY_FROM_ISO       RT_BIT(0)
    6969/** Execute file on the guest after it has
    70  *  been successfully transfered. */
     70 *  been successfully transferred. */
    7171#define ISOFILE_FLAG_EXECUTE             RT_BIT(7)
    7272/** File is optional, does not have to be
     
    129129}
    130130
    131 #if 0 /* unsed */
     131#if 0 /* unused */
    132132/** @note The task object is owned by the thread after this returns, regardless of the result.  */
    133133int GuestSessionTask::RunAsync(const Utf8Str &strDesc, ComObjPtr<Progress> &pProgress)
     
    231231 * Sets the task's progress object to an error using a string message.
    232232 *
    233  * @returns Returns \a hr for covenience.
     233 * @returns Returns \a hr for convenience.
    234234 * @param   hr                  Progress operation result to set.
    235235 * @param   strMsg              Message to set.
     
    265265 * Sets the task's progress object to an error using a string message and a guest error info object.
    266266 *
    267  * @returns Returns \a hr for covenience.
     267 * @returns Returns \a hr for convenience.
    268268 * @param   hr                  Progress operation result to set.
    269269 * @param   strMsg              Message to set.
     
    467467
    468468    /*
    469      * Even if we succeeded until here make sure to check whether we really transfered
     469     * Even if we succeeded until here make sure to check whether we really transferred
    470470     * everything.
    471471     */
     
    473473        && cbWrittenTotal == 0)
    474474    {
    475         /* If nothing was transfered but the file size was > 0 then "vbox_cat" wasn't able to write
     475        /* If nothing was transferred but the file size was > 0 then "vbox_cat" wasn't able to write
    476476         * to the destination -> access denied. */
    477477        setProgressErrorMsg(VBOX_E_IPRT_ERROR,
     
    484484        /* If we did not copy all let the user know. */
    485485        setProgressErrorMsg(VBOX_E_IPRT_ERROR,
    486                             Utf8StrFmt(tr("Copying guest file \"%s\" to host file \"%s\" failed (%RU64/%RU64 bytes transfered)"),
     486                            Utf8StrFmt(tr("Copying guest file \"%s\" to host file \"%s\" failed (%RU64/%RU64 bytes transferred)"),
    487487                                       strSrcFile.c_str(), strDstFile.c_str(), cbWrittenTotal, cbSize));
    488488        vrc = VERR_INTERRUPTED;
     
    783783
    784784    /*
    785      * Even if we succeeded until here make sure to check whether we really transfered
     785     * Even if we succeeded until here make sure to check whether we really transferred
    786786     * everything.
    787787     */
     
    789789        && cbWrittenTotal == 0)
    790790    {
    791         /* If nothing was transfered but the file size was > 0 then "vbox_cat" wasn't able to write
     791        /* If nothing was transferred but the file size was > 0 then "vbox_cat" wasn't able to write
    792792         * to the destination -> access denied. */
    793793        setProgressErrorMsg(VBOX_E_IPRT_ERROR,
     
    800800        /* If we did not copy all let the user know. */
    801801        setProgressErrorMsg(VBOX_E_IPRT_ERROR,
    802                             Utf8StrFmt(tr("Copying to guest file \"%s\" failed (%RU64/%RU64 bytes transfered)"),
     802                            Utf8StrFmt(tr("Copying to guest file \"%s\" failed (%RU64/%RU64 bytes transferred)"),
    803803                                       strDstFile.c_str(), cbWrittenTotal, cbSize));
    804804        vrc = VERR_INTERRUPTED;
     
    28132813    return vrc;
    28142814}
    2815 
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