git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
249e9b4
)
shadow_copy2: add some blank lines for visual separation to shadow_copy2_convert()
author
Michael Adam
<obnox@samba.org>
Wed, 29 May 2013 13:06:22 +0000
(15:06 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 4 Oct 2013 20:21:29 +0000
(09:21 +1300)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
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 ecf448d38183d9cad4112597360c3f0f06e09afe..95249b2eac9339cc33786b7bfc57d14d24931a41 100644
(file)
--- a/
source3/modules/vfs_shadow_copy2.c
+++ b/
source3/modules/vfs_shadow_copy2.c
@@
-504,11
+504,13
@@
static char *shadow_copy2_convert(TALLOC_CTX *mem_ctx,
&slashes, &num_slashes)) {
goto fail;
}
+
insert = shadow_copy2_insert_string(talloc_tos(), handle, timestamp);
if (insert == NULL) {
goto fail;
}
insertlen = talloc_get_size(insert)-1;
+
converted = talloc_zero_array(mem_ctx, char, pathlen + insertlen + 1);
if (converted == NULL) {
goto fail;