Changeset c3274c6


Ignore:
Timestamp:
08/08/05 17:15:48 (15 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
3dcc2e2
Parents:
72bfe20
Message:

fixed length calculation for uri, so it actually returns the right answer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r72bfe20 rc3274c6  
    274274        }
    275275
    276         if ((*uridata - *uri) > URI_PROTO_LINE) {
     276
     277        if ((uridata - uri) > URI_PROTO_LINE) {
    277278                // badly formed URI - uri type is too long
    278279                trace_err.err_num = E_URI_LONG;
     
    347348        }
    348349
    349         if ((*uridata - *uri) > URI_PROTO_LINE) {
     350        if ((uridata - uri) > URI_PROTO_LINE) {
    350351                // badly formed URI - uri type is too long
    351352                trace_err.err_num = E_URI_LONG;
Note: See TracChangeset for help on using the changeset viewer.