TODO/TMP: some debug in shadow_copy2_convert()
authorMichael Adam <obnox@samba.org>
Wed, 29 May 2013 23:14:43 +0000 (01:14 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 31 Oct 2013 13:44:23 +0000 (14:44 +0100)
source3/modules/vfs_shadow_copy2.c

index ebc50e9076e85087a8d52dc5775a0d705fb606c2..169cfeef00585bd6acbf89a4d5fce1544b000d65 100644 (file)
@@ -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;