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/protocols_pktmeta.c

    r25a3255 r2193905  
    2727#include "libtrace.h"
    2828#include "protocols.h"
    29 #include <assert.h>
    3029
    3130#ifdef HAVE_WANDDER
     
    156155        uint32_t dummyrem;
    157156        void *pktbuf = NULL;
    158         /*assert(packet != NULL);*/
    159157        if (!packet) {
    160158                fprintf(stderr, "NULL packet passed into trace_get_packet_meta()");
    161159                return NULL;
    162160        }
    163         /*assert(linktype != NULL);*/
    164161        if (!linktype) {
    165162                fprintf(stderr, "NULL linkype passed into trace_get_packet_meta()");
     
    210207        uint16_t next = 0;
    211208
    212         /*assert(meta != NULL);*/
    213209        if (!meta) {
    214210                fprintf(stderr, "NULL meta passed into trace_get_payload_from_meta()");
    215211                return NULL;
    216212        }
    217         /*assert(linktype != NULL);*/
    218213        if (!linktype) {
    219214                fprintf(stderr, "NULL linktype passed into trace_get_payload_from_meta()");
    220215                return NULL;
    221216        }
    222         /*assert(remaining != NULL);*/
    223217        if (!remaining) {
    224218                fprintf(stderr, "NULL remaining passed into trace_get_payload_from_meta()");
Note: See TracChangeset for help on using the changeset viewer.