Commit eaaf1062 authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Fix another fallthrough bug.

parent 09a1152a
......@@ -217,7 +217,7 @@ bool PrrtBlock_decode(PrrtBlock *block_ptr)
gather_data_packets(block_ptr, fec, idx_p);
gather_redundancy_packets(block_ptr, fec, idx_p);
check(PrrtCoder_decode(coder, fec, idx_p, length) == EXIT_SUCCESS, "Decoding failed.");
check(PrrtCoder_decode(coder, fec, idx_p, length) == EXIT_SUCCESS, "Could not decode current block.");
for(j = 0; j < k; j++) {
if(idx_p[j] >= k) {
......
......@@ -44,6 +44,8 @@ void decode_block(PrrtSocket *sock_ptr, PrrtBlock *block, prrtSequenceNumber_t b
sock_ptr->blockStore = BPTree_delete(sock_ptr->blockStore, base_seqno);
}
return;
error:
PERROR("Decoding failed.%s", "")
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment