summaryrefslogtreecommitdiff
path: root/libcli/smb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-04-25 11:49:56 +0200
committerVolker Lendecke <vl@samba.org>2012-04-25 18:54:51 +0200
commit5a100a4b1b6d274a927088a743c63e62072f36bf (patch)
treed206b40d89fdb0992fc27d63d7985ea7fb3f8f48 /libcli/smb
parente952191fccf12e0b6959c0bef42935a9a0340bbe (diff)
downloadsamba-5a100a4b1b6d274a927088a743c63e62072f36bf.tar.gz
samba-5a100a4b1b6d274a927088a743c63e62072f36bf.tar.bz2
samba-5a100a4b1b6d274a927088a743c63e62072f36bf.zip
libcli: Use data_blob_null
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 25 18:54:51 CEST 2012 on sn-devel-104
Diffstat (limited to 'libcli/smb')
-rw-r--r--libcli/smb/smb2_create_blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/smb/smb2_create_blob.c b/libcli/smb/smb2_create_blob.c
index 9724823e31..2175a0c68e 100644
--- a/libcli/smb/smb2_create_blob.c
+++ b/libcli/smb/smb2_create_blob.c
@@ -180,7 +180,7 @@ NTSTATUS smb2_create_blob_add(TALLOC_CTX *mem_ctx, struct smb2_create_blobs *b,
data.length);
NT_STATUS_HAVE_NO_MEMORY(b->blobs[b->num_blobs].data.data);
} else {
- b->blobs[b->num_blobs].data = data_blob(NULL, 0);
+ b->blobs[b->num_blobs].data = data_blob_null;
}
b->num_blobs += 1;