summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-10-31 12:03:31 +0100
committerKarolin Seeger <kseeger@samba.org>2019-11-13 13:32:24 +0000
commit1f504300bf35d793019eb86d9206eacef7d58d6e (patch)
tree6edd8ac693bb14e391e709cb619dbbbd80883cb9 /source3
parentcbd6426ad519de1d487752ab6fea504e3c671612 (diff)
downloadsamba-1f504300bf35d793019eb86d9206eacef7d58d6e.tar.gz
s3:printing: add a DEBUG statement
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13745 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit ede00779ab2d881e061adb9d861879e8c68e272b)
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/print_generic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/printing/print_generic.c b/source3/printing/print_generic.c
index 9c47d3ff7a5..d3c72dd6a9a 100644
--- a/source3/printing/print_generic.c
+++ b/source3/printing/print_generic.c
@@ -56,6 +56,8 @@ static int print_run_command(int snum, const char* printername, bool do_sub,
return -1;
}
+ DBG_DEBUG("Incoming command '%s'\n", syscmd);
+
while ((arg = va_arg(ap, char *))) {
char *value = va_arg(ap,char *);
syscmd = talloc_string_sub(ctx, syscmd, arg, value);