Ignore:
Timestamp:
02/17/06 10:38:30 (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:
3d4d52d
Parents:
880aa58
Message:

Get rid of ->sourcetype, it was never used.
Cleanup some of the wag stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_legacy.c

    r880aa58 rf03fc17  
    136136        if (!strncmp(CONNINFO.path,"-",1)) {
    137137                /* STDIN */
    138                 libtrace->sourcetype = TRACE_SOURCE_STDIN;
    139138                INPUT.file = LIBTRACE_FDOPEN(fileno(stdin), "r");
    140139        } else {
     
    144143                }
    145144                if (S_ISSOCK(buf.st_mode)) {
    146                         libtrace->sourcetype = TRACE_SOURCE_SOCKET;
    147145                        if ((INPUT.fd = socket(
    148146                                        AF_UNIX, SOCK_STREAM, 0)) == -1) {
     
    164162                } else {
    165163                        int fd;
    166                         libtrace->sourcetype = TRACE_SOURCE_TRACE;
    167164
    168165                        /* we use an FDOPEN call to reopen an FD
Note: See TracChangeset for help on using the changeset viewer.