VirtualBox

Ignore:
Timestamp:
Sep 20, 2010 12:12:33 PM (14 years ago)
Author:
vboxsync
Message:

Bugfix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/testcase/tstUserInfo.cpp

    r32634 r32636  
    6262        }
    6363        else
    64             RTPrintf("SHGetFolderPathW (CSIDL_PERSONAL) returned error: 0x%x", hRes);
     64            RTPrintf("SHGetFolderPathW (CSIDL_PERSONAL) returned error: 0x%x\n", hRes);
    6565    }
    6666    else
    67         RTPrintf("SHGetFolderPathW (CSIDL_APPDATA) returned error: 0x%x", hRes);
     67        RTPrintf("SHGetFolderPathW (CSIDL_APPDATA) returned error: 0x%x\n", hRes);
    6868
    6969    if (FAILED(hRes))
    7070        rc = RTErrConvertFromWin32(hRes);
    7171
    72     if (RT_SUCCESS(rc))
    73     {
    74         /* Dump env bits. */
    75         RTPrintf("Environment:\n\n");
    76         RTPrintf("APPDATA = %s\n", getenv("APPDATA"));
    77     }
     72    /* Dump env bits. */
     73    RTPrintf("Environment:\n\n");
     74    RTPrintf("APPDATA = %s\n", getenv("APPDATA"));
    7875#endif
    79     return VINF_SUCCESS(rc) ? 0 : -1;
     76    return VINF_SUCCESS(rc) ? 0 : 1;
    8077}
    8178
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