Changeset c5ff469 for tools/tracesplit


Ignore:
Timestamp:
02/28/13 10:24:41 (8 years ago)
Author:
Shane Alcock <salcock@…>
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:
5699389
Parents:
954577b9
Message:
  • Fixed error in tracesplit where the input trace was not being closed properly if a stopping condition was reached
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracesplit/tracesplit.c

    rc0ccccd rc5ff469  
    371371                }
    372372
    373                 if (done)
    374                         break;
    375                
    376373                if (trace_is_err(input)) {
    377374                        trace_perror(input,"Reading packets");
     
    381378
    382379                trace_destroy(input);
     380               
     381                if (done)
     382                        break;
     383               
    383384        }
    384385
Note: See TracChangeset for help on using the changeset viewer.