1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

r10104: Fix code before declaration.

This commit is contained in:
Tim Potter 2005-09-09 04:22:58 +00:00 committed by Gerald (Jerry) Carter
parent cc24af6545
commit 05c0201815

View File

@ -147,8 +147,8 @@ static DATA_BLOB hbin_alloc (struct regf_data *data, uint32_t size, uint32_t *of
int j;
uint32_t my_size;
for (j = 0; j < hbin->offset_to_next-0x20; j+= my_size) {
my_size = IVAL(hbin->data, j);
uint32_t header = IVAL(hbin->data, j + 4);
my_size = IVAL(hbin->data, j);
if (my_size == 0x0) {
DEBUG(0, ("Invalid zero-length block! File is corrupt.\n"));