Author: metze
Date: 2004-08-17 11:43:59 +0000 (Tue, 17 Aug 2004)
New Revision: 1857

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1857&nolog=1

Log:
first the declarations, then the statements...
(fix the build)

metze

Modified:
   trunk/source/rpc_server/srv_lsa_nt.c


Changeset:
Modified: trunk/source/rpc_server/srv_lsa_nt.c
===================================================================
--- trunk/source/rpc_server/srv_lsa_nt.c        2004-08-17 11:22:44 UTC (rev 1856)
+++ trunk/source/rpc_server/srv_lsa_nt.c        2004-08-17 11:43:59 UTC (rev 1857)
@@ -1056,10 +1056,11 @@
 NTSTATUS _lsa_getsystemaccount(pipes_struct *p, LSA_Q_GETSYSTEMACCOUNT *q_u, 
LSA_R_GETSYSTEMACCOUNT *r_u)
 {
        struct lsa_info *info=NULL;
-       r_u->status = NT_STATUS_OK;
        fstring name, dom_name;
        enum SID_NAME_USE type;
 
+       r_u->status = NT_STATUS_OK;
+
        /* find the connection policy handle. */
        if (!find_policy_by_hnd(p, &q_u->pol, (void **)&info))
                return NT_STATUS_INVALID_HANDLE;

Reply via email to