diff options
author | Tim Potter <tpot@samba.org> | 2005-09-09 04:22:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:37:59 -0500 |
commit | 289127b0262246147c370f3261ce94b0e3669969 (patch) | |
tree | 1958d56fd3b2a1e3d8471dcedd98a04d9b807a9f /source4 | |
parent | 561a02d646b3a43014db7814f3af91d1f67110b2 (diff) | |
download | samba-289127b0262246147c370f3261ce94b0e3669969.tar.gz samba-289127b0262246147c370f3261ce94b0e3669969.tar.xz samba-289127b0262246147c370f3261ce94b0e3669969.zip |
r10104: Fix code before declaration.
(This used to be commit 05c020181560afd4e6957be29795536e2d83d71e)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/registry/reg_backend_nt4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/reg_backend_nt4.c b/source4/lib/registry/reg_backend_nt4.c index f31a2f52e7..e5c0221504 100644 --- a/source4/lib/registry/reg_backend_nt4.c +++ b/source4/lib/registry/reg_backend_nt4.c @@ -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")); |