diff options
author | Bjoern Brandenburg <bbb@quintet.cs.unc.edu> | 2008-09-25 00:40:22 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@quintet.cs.unc.edu> | 2008-09-25 00:40:22 -0400 |
commit | 041a6dd0113386ddd304d8ded2ab66a3eebd508f (patch) | |
tree | f91ad01cb04d298a652fb8a64c5c9fa6e3d43677 | |
parent | 050eb6b5621b01f89d5b9e9d6076119f18759fed (diff) |
bugfix: advance to next record in byte order conversion
-rw-r--r-- | src/ft2csv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft2csv.c b/src/ft2csv.c index bed2645..90d231f 100644 --- a/src/ft2csv.c +++ b/src/ft2csv.c | |||
@@ -104,6 +104,7 @@ static void restore_byte_order(struct timestamp* start, struct timestamp* end) | |||
104 | while (pos !=end) { | 104 | while (pos !=end) { |
105 | pos->timestamp = ntohx(pos->timestamp); | 105 | pos->timestamp = ntohx(pos->timestamp); |
106 | pos->seq_no = ntohl(pos->seq_no); | 106 | pos->seq_no = ntohl(pos->seq_no); |
107 | pos++; | ||
107 | } | 108 | } |
108 | } | 109 | } |
109 | 110 | ||