VirtualBox

Ignore:
Timestamp:
Feb 11, 2022 6:57:49 PM (3 years ago)
Author:
vboxsync
Message:

VBoxManage: Fix variable name in guest property code.

File:
1 edited

Legend:

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

    r93115 r93700  
    235235     * Pack the patterns
    236236     */
    237     Utf8Str Utf8Patterns(a->argc > 2 ? a->argv[2] : "");
     237    Utf8Str strPatterns(a->argc > 2 ? a->argv[2] : "");
    238238    for (int i = 3; i < a->argc; ++i)
    239         Utf8Patterns = Utf8StrFmt ("%s,%s", Utf8Patterns.c_str(), a->argv[i]);
     239        strPatterns = Utf8StrFmt ("%s,%s", strPatterns.c_str(), a->argv[i]);
    240240
    241241    /*
     
    258258        com::SafeArray<LONG64> timestamps;
    259259        com::SafeArray<BSTR> flags;
    260         CHECK_ERROR(machine, EnumerateGuestProperties(Bstr(Utf8Patterns).raw(),
     260        CHECK_ERROR(machine, EnumerateGuestProperties(Bstr(strPatterns).raw(),
    261261                                                      ComSafeArrayAsOutParam(names),
    262262                                                      ComSafeArrayAsOutParam(values),
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