diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-09-03 08:50:59 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-09-03 08:50:59 +0000 |
commit | fd6ea431617d91c5f5c6b07cb26910f4900c1515 (patch) | |
tree | f079e0acc8629c45bf049f5bd58fe5b10e4b3d03 /source3/rpcclient | |
parent | 95739423d0116074a16b7b1c6b389ca2bbe34c7c (diff) | |
download | samba-fd6ea431617d91c5f5c6b07cb26910f4900c1515.tar.gz samba-fd6ea431617d91c5f5c6b07cb26910f4900c1515.tar.bz2 samba-fd6ea431617d91c5f5c6b07cb26910f4900c1515.zip |
the next step in our error code handling change
- added WERROR for win32 error codes
- added a configure test for immediate structures
still lots to do, so its not enabled by default, but the main
structure is there
(This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index 836c048444..24171e04ce 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -766,7 +766,7 @@ static uint32 cmd_spoolss_getdriver(struct cli_state *cli, int argc, char **argv case NT_STATUS_OK: break; - case ERRunknownprinterdriver: + case WERR_UNKNOWN_PRINTER_DRIVER: continue; default: @@ -804,7 +804,7 @@ static uint32 cmd_spoolss_getdriver(struct cli_state *cli, int argc, char **argv cli_nt_session_close (cli); talloc_destroy(mem_ctx); - if (result==ERRunknownprinterdriver) + if (result==WERR_UNKNOWN_PRINTER_DRIVER) return NT_STATUS_OK; else return result; @@ -899,7 +899,7 @@ static uint32 cmd_spoolss_enum_drivers(struct cli_state *cli, int argc, char **a cli_nt_session_close (cli); talloc_destroy(mem_ctx); - if (result==ERRunknownprinterdriver) + if (result==WERR_UNKNOWN_PRINTER_DRIVER) return NT_STATUS_OK; else return result; |