VirtualBox

Ignore:
Timestamp:
Nov 19, 2017 12:49:36 PM (7 years ago)
Author:
vboxsync
Message:

Changed RTLogCreateEx[V] to take a RTERRINFO pointer rather than plain char * and size_t. Turned out a several callers didn't actually make use of the error message even.

File:
1 edited

Legend:

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

    r69500 r69749  
    310310    fFlags |= RTLOGFLAGS_USECRLF;
    311311#endif
    312     char szError[RTPATH_MAX + 128] = "";
    313312    int rc = RTLogCreateEx(&g_pLoggerRelease, fFlags, "all",
    314313#ifdef DEBUG
     
    320319                           RTLOGDEST_STDOUT | RTLOGDEST_USER,
    321320                           vgsvcLogHeaderFooter, g_cHistory, g_uHistoryFileSize, g_uHistoryFileTime,
    322                            szError, sizeof(szError), pszLogFile);
     321                           NULL /*pErrInfo*/, pszLogFile);
    323322    if (RT_SUCCESS(rc))
    324323    {
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