summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>1998-12-19 01:43:24 +0000
committerRichard Sharpe <sharpe@samba.org>1998-12-19 01:43:24 +0000
commita7e4be0e782dc4dd9b3d5e3e3af9e49ef93ed08a (patch)
treee62c5d628d1eb7ce4835da8cd5edc5168f54928a
parentd5791b826dfefcb34789dc68a8f00f0653123e70 (diff)
downloadsamba-a7e4be0e782dc4dd9b3d5e3e3af9e49ef93ed08a.tar.gz
samba-a7e4be0e782dc4dd9b3d5e3e3af9e49ef93ed08a.tar.bz2
samba-a7e4be0e782dc4dd9b3d5e3e3af9e49ef93ed08a.zip
Added some debugging to clitar ...
(This used to be commit b75af70990c3a9eaed9e3537b79e8e66a0ae8286)
-rw-r--r--source3/client/clitar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index 6e9f8bcd03..f3379a3119 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -848,6 +848,7 @@ static void do_tar(file_info *finfo)
ntarf++; /* Make sure we have a file on there */
safe_strcpy(mtar_mask,cur_dir, sizeof(pstring));
safe_strcat(mtar_mask,"*", sizeof(pstring));
+ DEBUG(5, ("Doing list with mtar_mask: %s\n, mtar_mask));
do_list(mtar_mask, attribute, do_tar, False, True);
safe_strcpy(cur_dir,saved_curdir, sizeof(pstring));
}
@@ -1461,17 +1462,20 @@ int process_tar(void)
safe_strcpy(cur_dir, tarmac, sizeof(pstring));
*(strrchr(cur_dir, '\\')+1)='\0';
+ DEBUG(5, "process_tar, do_list with tarmac: %s\n", tarmac);
do_list(tarmac,attribute,do_tar, False, True);
safe_strcpy(cur_dir,saved_dir, sizeof(pstring));
} else {
safe_strcpy(tarmac, cur_dir, sizeof(pstring));
safe_strcat(tarmac, cliplist[i], sizeof(pstring));
+ DEBUG(5, "process_tar, do_list with tarmac: %s\n", tarmac);
do_list(tarmac,attribute,do_tar, False, True);
}
}
} else {
pstring mask;
safe_strcpy(mask,cur_dir, sizeof(pstring));
+ DEBUG(5, process_tar, do_list with mask: $s\n", mask);
safe_strcat(mask,"\\*", sizeof(pstring));
do_list(mask,attribute,do_tar,False, True);
}