Revert "create blob debugging"
authorStefan Metzmacher <metze@samba.org>
Wed, 19 Aug 2009 18:23:27 +0000 (20:23 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 Mar 2014 23:04:43 +0000 (00:04 +0100)
This reverts commit 01eda97c4c4814fac30cffdd0ae06fbba6c0d754.

libcli/smb/smb2_create_blob.c
source3/smbd/smb2_create.c

index 095fdbd63ad35a8201aabf1984c391f6393e6009..c6b2e1e7c88f510b38b667ca9cdd5204452204e7 100644 (file)
@@ -71,19 +71,14 @@ NTSTATUS smb2_create_blob_parse(TALLOC_CTX *mem_ctx, const DATA_BLOB buffer,
                        return NT_STATUS_INVALID_PARAMETER;
                }
 
-DEBUG(0,("%s: name_length[0x%X] name_offset[0x%X]\n", __location__, name_length, name_offset));
-DEBUG(0,("%s: data_length[0x%X] data_offset[0x%X]\n", __location__, data_length, data_offset));
-
                tag = talloc_strndup(mem_ctx, (const char *)data + name_offset, name_length);
                if (tag == NULL) {
-DEBUG(0,("%s: name_length[0x%X] name_offset[0x%X]\n", __location__, name_length, name_offset));
                        return NT_STATUS_NO_MEMORY;
                }
 
                b = data_blob_const(data+data_offset, data_length);
                status = smb2_create_blob_add(mem_ctx, blobs, tag, b);
                if (!NT_STATUS_IS_OK(status)) {
-DEBUG(0,("%s: data_length[0x%X] data_offset[0x%X]\n", __location__, data_length, data_offset));
                        return status;
                }
 
index 58a9cd28cf325d36f66913714deab806614dc62b..52ed171cc0c6d9b2354dfa4c617ccb030588d6a9 100644 (file)
@@ -196,12 +196,6 @@ NTSTATUS smbd_smb2_request_process_create(struct smbd_smb2_request *smb2req)
                context_offset;
        in_context_buffer.length = in_context_length;
 
-DEBUG(0,("context_length[0x%X]off[0x%X] fname len[0x%X] off[0x%X]\n",
-       in_context_length, in_context_offset, in_name_length, in_name_offset));
-dump_data(0, (const uint8_t *)req->in.vector[i+2].iov_base, req->in.vector[i+2].iov_len);
-dump_data(0, in_name_buffer.data,in_name_buffer.length);
-dump_data(0, in_context_buffer.data,in_context_buffer.length);
-
        /*
         * Now interpret the name and context buffers
         */