summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-05-29 15:06:22 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-10-05 09:21:29 +1300
commit86988db1f0ebd170d2bc91b6ed78f8845bfd270c (patch)
tree292987ba371ff456524acf05844f1640553f9bb1 /source3/modules
parent249e9b4a34d8959bd94735c1921ecfc24d6a2705 (diff)
downloadsamba-86988db1f0ebd170d2bc91b6ed78f8845bfd270c.tar.gz
samba-86988db1f0ebd170d2bc91b6ed78f8845bfd270c.tar.bz2
samba-86988db1f0ebd170d2bc91b6ed78f8845bfd270c.zip
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>
Diffstat (limited to 'source3/modules')
-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 ecf448d381..95249b2eac 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;