From 44b93eec71b9b208ac0f4016f2a9410643caf2eb Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 19 Jul 2005 09:37:42 +0000 Subject: r8592: I'm pretty sure this should be != instead of =!. Bugzilla #2893. (This used to be commit 26539ddd7290860831e0bda62e1126945420b06f) --- source3/utils/net_rpc_printer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils') diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c index f1f82a5cea..4185f805ee 100644 --- a/source3/utils/net_rpc_printer.c +++ b/source3/utils/net_rpc_printer.c @@ -1353,7 +1353,7 @@ static NTSTATUS rpc_printer_publish_internals_args(struct cli_state *cli, TALLOC ctr_pub.printers_7->action = action; result = cli_spoolss_setprinter(cli, mem_ctx, &hnd, level, &ctr_pub, 0); - if (!W_ERROR_IS_OK(result) && (W_ERROR_V(result) =! W_ERROR_V(WERR_IO_PENDING))) { + if (!W_ERROR_IS_OK(result) && (W_ERROR_V(result) != W_ERROR_V(WERR_IO_PENDING))) { printf("cannot set printer-info: %s\n", dos_errstr(result)); goto done; } -- cgit