summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>1998-12-19 02:08:35 +0000
committerRichard Sharpe <sharpe@samba.org>1998-12-19 02:08:35 +0000
commitddfe1d35fcd383fd13ab6a23617d73e8921337f4 (patch)
tree6f1f0672251b8b66aad7bf5af17b5bbb815f3660 /source3/client
parenta7e4be0e782dc4dd9b3d5e3e3af9e49ef93ed08a (diff)
downloadsamba-ddfe1d35fcd383fd13ab6a23617d73e8921337f4.tar.gz
samba-ddfe1d35fcd383fd13ab6a23617d73e8921337f4.tar.bz2
samba-ddfe1d35fcd383fd13ab6a23617d73e8921337f4.zip
Fixed problems in debug code because I did not compile
first :-( (This used to be commit 47e36bed8fc3cec3a63087f30d680f2431bcfe55)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/clitar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index f3379a3119..4978a4dec1 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -848,7 +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));
+ 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));
}
@@ -1462,20 +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);
+ 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);
+ 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);
+ DEBUG(5, ("process_tar, do_list with mask: $s\n", mask));
safe_strcat(mask,"\\*", sizeof(pstring));
do_list(mask,attribute,do_tar,False, True);
}