X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=network_compression.h;h=6ef08f93f69cb7c9de0bc3b9825a0472a4b5ff50;hb=7338016c5cf8bffb8e490b359b7ee02cbcb86416;hp=d4e3655a2098d2c9092bf960fc05372a43d0839a;hpb=7d9bd61fc606b3ff76e0859b715b5b11b3c892d8;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/network_compression.h b/network_compression.h index d4e3655..6ef08f9 100644 --- a/network_compression.h +++ b/network_compression.h @@ -28,7 +28,7 @@ static void bitpack_bytes( bitpack_ctx *ctx, u32 bytes, void *data ){ if( index < ctx->buffer_len ) ext[i] = ctx->buffer[index]; else - return; + ext[i] = 0x00; } } ctx->bytes += bytes;