summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-28 08:39:12 +0000
committerTim Potter <tpot@samba.org>2002-05-28 08:39:12 +0000
commitf00e292be91f76c57637d1e1b2d075ec0e765691 (patch)
treefbb358fbe26f8f50880946df5812276348625e9b /source3
parent3b464a1f8f0020a0594ffba0ca9e5799ffb39623 (diff)
downloadsamba-f00e292be91f76c57637d1e1b2d075ec0e765691.tar.gz
samba-f00e292be91f76c57637d1e1b2d075ec0e765691.tar.bz2
samba-f00e292be91f76c57637d1e1b2d075ec0e765691.zip
Hmm - you can do NT_STATUS_IS_OK on a WERROR and not get a compile warning/error.
(This used to be commit 8d6270cadf7f99ee8ee441ee6c3e58eca623d519)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/cli_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cli_spoolss.c b/source3/libsmb/cli_spoolss.c
index 5e33e00c68..48094f8179 100644
--- a/source3/libsmb/cli_spoolss.c
+++ b/source3/libsmb/cli_spoolss.c
@@ -606,7 +606,7 @@ WERROR cli_spoolss_getprinter(struct cli_state *cli, TALLOC_CTX *mem_ctx,
result = r.status;
- if (NT_STATUS_IS_OK(result)) {
+ if (W_ERROR_IS_OK(result)) {
switch (level) {
case 0:
decode_printer_info_0(mem_ctx, r.buffer, 1, &ctr->printers_0);