From 5a100a4b1b6d274a927088a743c63e62072f36bf Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 25 Apr 2012 11:49:56 +0200 Subject: libcli: Use data_blob_null Autobuild-User: Volker Lendecke Autobuild-Date: Wed Apr 25 18:54:51 CEST 2012 on sn-devel-104 --- libcli/smb/smb2_create_blob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcli/smb') 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; -- cgit