Changeset e4e1635


Ignore:
Timestamp:
03/07/06 10:43:20 (15 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:
b51edf5
Parents:
7ac9705
Message:

Minor cleanup
fix bug in trace_seek_timeval

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/fifo.c

    rc26ca86 re4e1635  
    8686
    8787        if ((fifo->base = malloc(fifo->length)) == 0) {
    88                 return 0;
     88                return NULL;
    8989        }
    9090
  • lib/trace.c

    r7ac9705 re4e1635  
    17831783                }
    17841784                if (trace->format->seek_seconds) {
    1785                         double seconds = tv.tv_sec + ((tv.tv_usec * UINT_MAX * 1.0)/1000000);
     1785                        double seconds = tv.tv_sec + ((tv.tv_usec * 1.0)/1000000);
    17861786                        return trace->format->seek_seconds(trace,seconds);
    17871787                }
Note: See TracChangeset for help on using the changeset viewer.