From ff3d2bef113783a561bdba1eace41d9bd5fce337 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 20 May 2010 21:57:53 +0200 Subject: s4-smbtorture: print local_machine name in RemoteFindFirstPrinterChangeNotifyEx test. Guenther --- source4/torture/rpc/spoolss_notify.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c index 2dffa85557..9fa6b63fbf 100644 --- a/source4/torture/rpc/spoolss_notify.c +++ b/source4/torture/rpc/spoolss_notify.c @@ -330,11 +330,12 @@ static bool test_RemoteFindFirstPrinterChangeNotifyEx(struct torture_context *tc struct spoolss_NotifyOption *option) { struct spoolss_RemoteFindFirstPrinterChangeNotifyEx r; + const char *local_machine = talloc_asprintf(tctx, "\\\\%s", address); - torture_comment(tctx, "Testing RemoteFindFirstPrinterChangeNotifyEx\n"); + torture_comment(tctx, "Testing RemoteFindFirstPrinterChangeNotifyEx(%s)\n", local_machine); r.in.flags = 0; - r.in.local_machine = talloc_asprintf(tctx, "\\\\%s", address); + r.in.local_machine = local_machine; r.in.options = 0; r.in.printer_local = 0; r.in.notify_options = option; -- cgit