1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r25642: Fix a small typo.

(This used to be commit 7416a1d606)
This commit is contained in:
Kai Blin 2007-10-15 08:35:24 +02:00 committed by Stefan Metzmacher
parent 957af15e4b
commit 1eaefd15cb

View File

@ -1367,7 +1367,7 @@ static bool test_OpenPrinter_badname(struct torture_context *tctx,
torture_comment(tctx, "Testing OpenPrinterEx(%s) with bad name\n", opEx.in.printername); torture_comment(tctx, "Testing OpenPrinterEx(%s) with bad name\n", opEx.in.printername);
status = dcerpc_spoolss_OpenPrinterEx(p, tctx, &opEx); status = dcerpc_spoolss_OpenPrinterEx(p, tctx, &opEx);
torture_assert_ntstatus_ok(tctx, status, "OpenPrinter failed"); torture_assert_ntstatus_ok(tctx, status, "OpenPrinterEx failed");
if (!W_ERROR_EQUAL(WERR_INVALID_PRINTER_NAME,opEx.out.result)) { if (!W_ERROR_EQUAL(WERR_INVALID_PRINTER_NAME,opEx.out.result)) {
torture_comment(tctx, "OpenPrinterEx(%s) unexpected result[%s] should be WERR_INVALID_PRINTER_NAME\n", torture_comment(tctx, "OpenPrinterEx(%s) unexpected result[%s] should be WERR_INVALID_PRINTER_NAME\n",
name, win_errstr(opEx.out.result)); name, win_errstr(opEx.out.result));