summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-10-31 12:03:31 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-11-07 14:16:42 +0000
commitede00779ab2d881e061adb9d861879e8c68e272b (patch)
tree3a58f0acd3280e7e75db3bdc8dbdc132abe6eb67
parent41ab92b62fbf029374b89f9d0ddf7578981f37cf (diff)
downloadsamba-ede00779ab2d881e061adb9d861879e8c68e272b.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>
-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);