s4-smbtorture: print local_machine name in RemoteFindFirstPrinterChangeNotifyEx test.
authorGünther Deschner <gd@samba.org>
Thu, 20 May 2010 19:57:53 +0000 (21:57 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 20 May 2010 20:49:50 +0000 (22:49 +0200)
Guenther

source4/torture/rpc/spoolss_notify.c

index 2dffa8555710e6899dec98f90e68fe4e0cbcf5f3..9fa6b63fbf5f321082a2562ac5f8e5e47d9a7ba2 100644 (file)
@@ -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;