git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
127fc67
)
TODO/TMP: some debug in shadow_copy2_convert()
author
Michael Adam
<obnox@samba.org>
Wed, 29 May 2013 23:14:43 +0000
(
01:14
+0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 31 Oct 2013 13:44:23 +0000
(14:44 +0100)
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 ebc50e9076e85087a8d52dc5775a0d705fb606c2..169cfeef00585bd6acbf89a4d5fce1544b000d65 100644
(file)
--- a/
source3/modules/vfs_shadow_copy2.c
+++ b/
source3/modules/vfs_shadow_copy2.c
@@
-554,6
+554,9
@@
static char *shadow_copy2_convert(TALLOC_CTX *mem_ctx,
}
insertlen = talloc_get_size(insert)-1;
+ DEBUG(10, ("insert string: '%s'\nsnapdir: '%s'\n", insert,
+ config->snapdir));
+
converted = talloc_zero_array(mem_ctx, char, pathlen + insertlen + 1);
if (converted == NULL) {
goto fail;