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

    rf6f3ae5 r2193905  
    3636static int init_combiner(libtrace_t *t, libtrace_combine_t *c) {
    3737        int i = 0;
    38         /*assert(trace_get_perpkt_threads(t) > 0);*/
    3938        if (trace_get_perpkt_threads(t) <= 0) {
    4039                trace_set_err(t, TRACE_ERR_INIT_FAILED, "You must have atleast 1 processing thread");
     
    249248
    250249        for (i = 0; i < trace_get_perpkt_threads(trace); i++) {
    251                 /*assert(libtrace_deque_get_size(&queues[i]) == 0);*/
    252250                if (libtrace_deque_get_size(&queues[i]) != 0) {
    253251                        trace_set_err(trace, TRACE_ERR_COMBINER,
    254                                 "Failed to destory queues, A thread still has data in destroy()");
     252                                "Failed to destroy queues, A thread still has data in destroy()");
    255253                        return;
    256254                }
Note: See TracChangeset for help on using the changeset viewer.