Changeset 36d51c8


Ignore:
Timestamp:
04/27/07 22:46:14 (14 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:
466aed6
Parents:
622dd4d
Message:

More warnings fixed, static some forgotten fields

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/format_tsh.c

    r6bea435 r36d51c8  
    168168}
    169169
    170 int tsh_get_capture_length(const libtrace_packet_t *packet) {
     170static int tsh_get_capture_length(const libtrace_packet_t *packet) {
    171171        /* 16 bytes transport + 24 bytes IP, and we're missing the
    172172         * IP options, but we'll pretend we have them
  • lib/trace.c

    r61b4543 r36d51c8  
    12581258        }
    12591259
    1260         if ((uridata - uri) > URI_PROTO_LINE) {
     1260        if ((unsigned)(uridata - uri) > URI_PROTO_LINE) {
    12611261                /* badly formed URI - uri type is too long */
    12621262                return 0;
Note: See TracChangeset for help on using the changeset viewer.