Changeset 25efeac for lib/format_erf.c


Ignore:
Timestamp:
03/20/06 12:51:15 (16 years ago)
Author:
Perry Lorier <perry@…>
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:
9c4b5e3
Parents:
2ffda28
Message:

Fix bug where INPUT.file isn't properly initialised

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_erf.c

    r85a0d42 r25efeac  
    207207        libtrace->format_data = malloc(sizeof(struct erf_format_data_t));
    208208
     209        INPUT.file = NULL;
     210
    209211        return 0; /* success */
    210212}
     
    331333        char *scan;
    332334        libtrace->format_data = malloc(sizeof(struct erf_format_data_t));
    333 
    334335
    335336        if (strlen(libtrace->uridata) == 0) {
Note: See TracChangeset for help on using the changeset viewer.