X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=network_compression.h;fp=network_compression.h;h=d4e3655a2098d2c9092bf960fc05372a43d0839a;hb=3ff626ceee3a5cb7fe9604c63e297815fe14453f;hp=6ef08f93f69cb7c9de0bc3b9825a0472a4b5ff50;hpb=509214f72c8974bb30091799752412419dd59632;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/network_compression.h b/network_compression.h index 6ef08f9..d4e3655 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 - ext[i] = 0x00; + return; } } ctx->bytes += bytes;