X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=network_compression.h;h=6ef08f93f69cb7c9de0bc3b9825a0472a4b5ff50;hb=03352a9faa626c2e842f49e6801251db7b77c1ec;hp=d4e3655a2098d2c9092bf960fc05372a43d0839a;hpb=3ff626ceee3a5cb7fe9604c63e297815fe14453f;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;