Author: tpot
Date: 2005-09-09 04:22:58 +0000 (Fri, 09 Sep 2005)
New Revision: 10104

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10104

Log:
Fix code before declaration.

Modified:
   branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c    2005-09-09 
04:21:19 UTC (rev 10103)
+++ branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c    2005-09-09 
04:22:58 UTC (rev 10104)
@@ -147,8 +147,8 @@
                int j;
                uint32_t my_size;
                for (j = 0; j < hbin->offset_to_next-0x20; j+= my_size) {
+                       uint32_t header = IVAL(hbin->data, j + 4);
                        my_size = IVAL(hbin->data, j);
-                       uint32_t header = IVAL(hbin->data, j + 4);
 
                        if (my_size == 0x0) {
                                DEBUG(0, ("Invalid zero-length block! File is 
corrupt.\n"));

Reply via email to