diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/zebra.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zebra.c b/src/zebra.c index 24973d7..42b507c 100644 --- a/src/zebra.c +++ b/src/zebra.c @@ -229,7 +229,10 @@ int zebra_read_next_logical_record(zebraFile *z) * length and the LR type; thus a padding record with NWLR=1 occupies * two words. To pad exactly one word, NWLR=0 should be stored, in this * case the LR type 5 is implied without being present in the data." */ - if (size == 0) continue; + if (size == 0) { + z->lr_size = 4; + continue; + } switch (get_bytes(z,offset+1)) { case 1: |