[SCM] Samba Shared Repository - branch master updated

Günther Deschner gd at samba.org
Sun Sep 25 14:43:03 UTC 2016


The branch, master has been updated
       via  dc17549 s3-modules: fix build warning in vfs shadow copy2 module
      from  631e063 s3-lib: Do not set an empty string in split_domain_user()

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit dc1754937fcff9456f28acc6ce835a867d380e65
Author: Günther Deschner <gd at samba.org>
Date:   Sun Sep 25 03:30:19 2016 +0200

    s3-modules: fix build warning in vfs shadow copy2 module
    
    Guenther
    
    Signed-off-by: Guenther Deschner <gd at samba.org>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    
    Autobuild-User(master): Günther Deschner <gd at samba.org>
    Autobuild-Date(master): Sun Sep 25 16:42:30 CEST 2016 on sn-devel-144

-----------------------------------------------------------------------

Summary of changes:
 source3/modules/vfs_shadow_copy2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index 1f876e7..6a25c87 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -194,7 +194,7 @@ static bool shadow_copy2_update_snaplist(struct vfs_handle_struct *handle,
 	 * time.
 	 */
 	if (seconds > 0 || (priv->snaps->snaplist == NULL)) {
-		smb_fname.base_name = ".";
+		smb_fname.base_name = discard_const_p(char, ".");
 		fsp.fsp_name = &smb_fname;
 
 		ret = shadow_copy2_get_shadow_copy_data(handle, &fsp,


-- 
Samba Shared Repository



More information about the samba-cvs mailing list