summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-05-29 15:06:22 +0200
committerKarolin Seeger <kseeger@samba.org>2014-01-13 10:17:22 +0100
commit39e8999828b677f80c47cfc2bd6bd9cba9090338 (patch)
tree8a42971e9b502bf09fce008ef85e013d5d1676d2
parenteb31ad9edd9fb1ed3c8424e3b6854fb671278276 (diff)
downloadsamba-39e8999828b677f80c47cfc2bd6bd9cba9090338.tar.gz
shadow_copy2: add some blank lines for visual separation to shadow_copy2_convert()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit 86988db1f0ebd170d2bc91b6ed78f8845bfd270c)
-rw-r--r--source3/modules/vfs_shadow_copy2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index 81e454b00f8..da1db42696c 100644
--- 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;