Cosmetic correction
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Thu, 9 Jul 2009 15:54:42 +0000 (17:54 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 19 Jul 2009 13:58:45 +0000 (15:58 +0200)
Changes the order of two commands. First set up the "priv" structure, then
assign it to the "ntvfs" structure.

source4/ntvfs/unixuid/vfs_unixuid.c

index 3ef341d61ad64798b319ac9d985e06d7475666fe..97c306f7c3542e291a0814cb0d80d6fa4ce145c4 100644 (file)
@@ -310,9 +310,9 @@ static NTSTATUS unixuid_connect(struct ntvfs_module_context *ntvfs,
                return NT_STATUS_INTERNAL_ERROR;
        }
 
-       ntvfs->private_data = priv;
        priv->last_sec_ctx = NULL;
        priv->last_token = NULL;
+       ntvfs->private_data = priv;
 
        tevent_loop_set_nesting_hook(ntvfs->ctx->event_ctx, 
                                     unixuid_event_nesting_hook,