Changeset 5141cd6 for lib


Ignore:
Timestamp:
12/06/18 18:34:41 (22 months ago)
Author:
Richard Sanger <rsanger@…>
Branches:
develop
Children:
5964f52
Parents:
c79c7fd
Message:

Fix build error from when asserts were removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_dpdk.c

    r2193905 r5141cd6  
    21532153                                /* The packet should always be finished */
    21542154                                if (packet->buf_control != TRACE_CTRL_PACKET) {
    2155                                         trace_set_err(libtrace, TRACE_ERR_BAD_PACKET, "Expected packet "
     2155                                        trace_set_err(trace, TRACE_ERR_BAD_PACKET, "Expected packet "
    21562156                                                "buffer to be empty in dpdk_trace_event()\n");
    2157                                         return -1;
     2157                                        event.type = TRACE_EVENT_TERMINATE;
     2158                                        return event;
    21582159                                }
    21592160                                free(packet->buffer);
Note: See TracChangeset for help on using the changeset viewer.