libcli: Use data_blob_null
authorVolker Lendecke <vl@samba.org>
Wed, 25 Apr 2012 09:49:56 +0000 (11:49 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 25 Apr 2012 16:54:51 +0000 (18:54 +0200)
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Apr 25 18:54:51 CEST 2012 on sn-devel-104

libcli/smb/smb2_create_blob.c

index 9724823e31b783c96e4100cab4375b76ff53042b..2175a0c68eeedc0ce7af9ce46101e6a610ea6c95 100644 (file)
@@ -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;