s3:smbd:smb2_create: add a comment
authorMichael Adam <obnox@samba.org>
Fri, 2 Mar 2012 22:41:22 +0000 (23:41 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 May 2012 16:42:04 +0000 (18:42 +0200)
source3/smbd/smb2_create.c

index bef17ae0384cd9ee598b114741c006f3c8d46be9..17b8d80fd6db53a0163503347851499ac0fcceac 100644 (file)
@@ -1035,11 +1035,12 @@ DEBUG(0, ("OBNOX - constructing a dhnq response blob (%s: %s)\n", __location__,
                                return tevent_req_post(req, ev);
                        }
 
-                       ZERO_STRUCT(p);
+                       ZERO_STRUCT(p); /* fill with zeroes */
 
                        status = smb2_create_blob_add(state, &out_context_blobs,
                                                      SMB2_CREATE_TAG_DHNQ,
                                                      blob);
+
                        if (!NT_STATUS_IS_OK(status)) {
                                tevent_req_nterror(req, status);
                                return tevent_req_post(req, ev);