diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/encoding.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/encoding.cpp b/src/encoding.cpp index 63049ac3..41e0d105 100644 --- a/src/encoding.cpp +++ b/src/encoding.cpp @@ -575,7 +575,8 @@ static void write_packet_ack_nack_desc_egprs( eow = false; urbb_len = rest_bits - 9; /* TODO: use compression (see above) */ - } + } else + urbb_len = num_blocks; if (urbb_len + crbb_len == rest_bits) len = -1; |