VirtualBox

Changeset 631 in vbox


Ignore:
Timestamp:
Feb 5, 2007 12:42:18 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18260
Message:

Select the right output method when RTLOGFLAGS_USECRLF set is and there are no prefixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/log.cpp

    r628 r631  
    15681568     * Format the message and perhaps flush it.
    15691569     */
    1570     if (pLogger->fFlags & RTLOGFLAGS_PREFIX_MASK)
     1570    if (pLogger->fFlags & (RTLOGFLAGS_PREFIX_MASK | RTLOGFLAGS_USECRLF))
    15711571    {
    15721572        RTLOGOUTPUTPREFIXEDARGS OutputArgs;
     
    20732073
    20742074            if (    pszNewLine
    2075                 &&  pLogger->fFlags & RTLOGFLAGS_USECRLF
     2075                &&  (pLogger->fFlags & RTLOGFLAGS_USECRLF)
    20762076                &&  pLogger->offScratch + 2 < sizeof(pLogger->achScratch))
    20772077            {
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