summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-20 21:57:53 +0200
committerGünther Deschner <gd@samba.org>2010-05-20 22:49:50 +0200
commitff3d2bef113783a561bdba1eace41d9bd5fce337 (patch)
tree88716a1c762d017cf98dc8cf1bbb36fa092ef1b6
parent7370d036278d2cd0cb14267b5c2b0baa6e1788eb (diff)
downloadsamba-ff3d2bef113783a561bdba1eace41d9bd5fce337.tar.gz
samba-ff3d2bef113783a561bdba1eace41d9bd5fce337.tar.bz2
samba-ff3d2bef113783a561bdba1eace41d9bd5fce337.zip
s4-smbtorture: print local_machine name in RemoteFindFirstPrinterChangeNotifyEx test.
Guenther
-rw-r--r--source4/torture/rpc/spoolss_notify.c5
1 files changed, 3 insertions, 2 deletions
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;