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_etsilive.c

    rf6f3ae5 r2193905  
    3737#include <libwandder_etsili.h>
    3838
    39 #include <assert.h>
    4039#include <errno.h>
    4140#include <fcntl.h>
     
    214213
    215214        if (!libtrace->format) {
    216                 trace_set_err(libtrace, TRACE_ERR_INIT_FAILED, "Unable to allocate memory etsilive_init_input()");
     215                trace_set_err(libtrace, TRACE_ERR_INIT_FAILED, "Unable to allocate memory for "
     216                        "format data inside etsilive_init_input()");
    217217                return 1;
    218218        }
     
    595595        libtrace_t *libtrace = packet->trace;
    596596
    597         /*assert(libtrace);*/
    598597        if (!libtrace) {
    599598                fprintf(stderr, "Packet is not associated with a trace in etsilive_get_pdu_length()\n");
    600599                return TRACE_ERR_NULL_TRACE;
    601600        }
    602         /*assert(FORMAT_DATA->shareddec);*/
    603601        if (!FORMAT_DATA->shareddec) {
    604602                trace_set_err(libtrace, TRACE_ERR_BAD_FORMAT, "Etsilive format data shareddec is NULL in etsilive_get_pdu_length()\n");
Note: See TracChangeset for help on using the changeset viewer.