summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-07-19 09:37:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:12 -0500
commit44b93eec71b9b208ac0f4016f2a9410643caf2eb (patch)
tree5eee8389aa1878da028e388349aa18760da60fe8
parent99478cd59bc89c82248652ca8a7a326f0e8cad39 (diff)
downloadsamba-44b93eec71b9b208ac0f4016f2a9410643caf2eb.tar.gz
samba-44b93eec71b9b208ac0f4016f2a9410643caf2eb.tar.bz2
samba-44b93eec71b9b208ac0f4016f2a9410643caf2eb.zip
r8592: I'm pretty sure this should be != instead of =!. Bugzilla #2893.
(This used to be commit 26539ddd7290860831e0bda62e1126945420b06f)
-rw-r--r--source3/utils/net_rpc_printer.c2
1 files changed, 1 insertions, 1 deletions
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;
}