Changeset 1346
- Timestamp:
- 08/04/08 15:34:42 (9 months ago)
- Files:
-
- trunk/lib/trace.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/trace.c
r1332 r1346 729 729 } 730 730 731 /* Clear the packet cache */732 packet->capture_length = -1;733 packet->l3_header = NULL;734 packet->l3_ethertype = 0;735 731 736 732 if (libtrace->format->read_packet) { 737 733 do { 738 734 size_t ret; 735 /* Clear the packet cache */ 736 packet->capture_length = -1; 737 packet->l3_header = NULL; 738 packet->l3_ethertype = 0; 739 739 740 ret=libtrace->format->read_packet(libtrace,packet); 740 741 if (ret==(size_t)-1 || ret==0) {
