git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
631e063
)
s3-modules: fix build warning in vfs shadow copy2 module
author
Günther Deschner
<gd@samba.org>
Sun, 25 Sep 2016 01:30:19 +0000
(
03:30
+0200)
committer
Günther Deschner
<gd@samba.org>
Sun, 25 Sep 2016 14:42:30 +0000
(16:42 +0200)
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Sun Sep 25 16:42:30 CEST 2016 on sn-devel-144
source3/modules/vfs_shadow_copy2.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_shadow_copy2.c
b/source3/modules/vfs_shadow_copy2.c
index 1f876e7e104b275bfbd87c27283c36d39d50f9e4..6a25c87b7f7f89d8a708aa31d82ee069daad4c57 100644
(file)
--- 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,