diff options
author | Günther Deschner <gd@samba.org> | 2010-05-20 21:57:53 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-20 22:49:50 +0200 |
commit | ff3d2bef113783a561bdba1eace41d9bd5fce337 (patch) | |
tree | 88716a1c762d017cf98dc8cf1bbb36fa092ef1b6 /source4 | |
parent | 7370d036278d2cd0cb14267b5c2b0baa6e1788eb (diff) | |
download | samba-ff3d2bef113783a561bdba1eace41d9bd5fce337.tar.gz samba-ff3d2bef113783a561bdba1eace41d9bd5fce337.tar.bz2 samba-ff3d2bef113783a561bdba1eace41d9bd5fce337.zip |
s4-smbtorture: print local_machine name in RemoteFindFirstPrinterChangeNotifyEx test.
Guenther
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/spoolss_notify.c | 5 |
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; |