Changeset 9fae46b for lib/format_erf.c


Ignore:
Timestamp:
02/28/06 15:30:47 (16 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
4aa4615
Parents:
5b66921
Message:

Minor fixes regarding the return values for dag_init_input and rt_init_input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_erf.c

    r0d57541 r9fae46b  
    155155#ifdef HAVE_DAG
    156156static int dag_init_input(struct libtrace_t *libtrace) {
    157         libtrace->format_data = (struct libtrace_format_data_t *)
    158                 malloc(sizeof(struct libtrace_format_data_t));
     157        libtrace->format_data = (struct erf_format_data_t *)
     158                malloc(sizeof(struct erf_format_data_t));
     159        return 0;
    159160}
    160161
Note: See TracChangeset for help on using the changeset viewer.