Changeset 2193905 for lib/format_rt.c


Ignore:
Timestamp:
11/29/18 10:12:59 (2 years ago)
Author:
Jacob Van Walraven <jcv9@…>
Branches:
develop
Children:
fdf23b8
Parents:
d74ca03
Message:

Apply changes required for pull request #81

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_rt.c

    rf6f3ae5 r2193905  
    3737
    3838#include <sys/stat.h>
    39 #include <assert.h>
    4039#include <errno.h>
    4140#include <fcntl.h>
     
    611610        packet->payload = RT_INFO->buf_read + sizeof(rt_header_t);
    612611        packet->internalid = libtrace_push_into_bucket(RT_INFO->bucket);
    613         /*assert(packet->internalid != 0);*/
    614612        if (!packet->internalid) {
    615613                trace_set_err(libtrace, TRACE_ERR_RT_FAILURE, "packet->internalid is 0 in rt_get_next_packet()");
     
    760758        libtrace_err_t read_err;
    761759
    762         /*assert(trace);*/
    763760        if (!trace) {
    764761                fprintf(stderr, "NULL trace passed into trace_event_rt()\n");
     
    766763                return event;
    767764        }
    768         /*assert(packet);*/
    769765        if (!packet) {
    770766                trace_set_err(trace, TRACE_ERR_NULL_PACKET, "NULL packet passed into trace_event_rt()");
Note: See TracChangeset for help on using the changeset viewer.