Changeset a7d1914 for lib/format_rt.c


Ignore:
Timestamp:
09/27/06 15:53:27 (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:
742a332
Parents:
41b7eab
Message:

Remove packet->size as noone really knew what it held anyway, and disagreements
were more easily settled by removing it than standardising one way or the other.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_rt.c

    r01818c6 ra7d1914  
    515515        }
    516516        packet->type = RT_INFO->rt_hdr.type;
    517         packet->size = RT_INFO->rt_hdr.length;
    518517
    519518        if (packet->type >= RT_DATA_SIMPLE) {
     
    580579        /* Return the number of bytes read from the stream */
    581580        RT_INFO->rt_hdr.type = RT_LAST;
    582         return packet->size;
     581        return RT_INFO->rt_hdr.length;
    583582}
    584583
Note: See TracChangeset for help on using the changeset viewer.