VirtualBox

Changeset 82788 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jan 19, 2020 12:04:31 PM (5 years ago)
Author:
vboxsync
Message:

Runtime/tracelogwriter.cpp: Fix passing the trace log description in the stream

File:
1 edited

Legend:

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

    r76553 r82788  
    9797    /** Next sequence number to use. */
    9898    volatile uint64_t           u64SeqNoNext;
    99     /** Pointer to the description if set. */
    100     char                        *pszDesc;
    10199    /** AVL tree root for event descriptor lookups. */
    102100    AVLPVTREE                   pTreeEvtDescs;
     
    504502    int rc = rtTraceLogWrStream(pThis, &Hdr, sizeof(Hdr));
    505503    if (   RT_SUCCESS(rc)
    506         && pThis->pszDesc)
     504        && pszDesc)
    507505        rc = rtTraceLogWrStream(pThis, pszDesc, Hdr.cbStrDesc);
    508506
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