libsmb: Remove "const" from smb_create_blob->tag
authorVolker Lendecke <vl@samba.org>
Wed, 5 Feb 2020 15:00:48 +0000 (17:00 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 7 Feb 2020 21:01:30 +0000 (21:01 +0000)
I want to TALLOC_FREE that soon, and we do a talloc_strdup into this anyway.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/smb/smb2_create_blob.h

index 90697a70892726df76eff0fcb36f38e5b9226a78..19c6a7a0bd748687dec6a550122219624839562f 100644 (file)
@@ -24,7 +24,7 @@
 #define _LIBCLI_SMB_SMB2_CREATE_BLOB_H_
 
 struct smb2_create_blob {
-       const char *tag;
+       char *tag;
        DATA_BLOB data;
 };