mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
werror: removed WERR_UNKNOWN_LEVEL
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
5eb28d55a7
commit
d60f3f0554
@ -215,7 +215,6 @@ typedef uint32_t WERROR;
|
||||
#define WERR_FOOBAR WERR_GEN_FAILURE
|
||||
|
||||
/* TODO: remove WERR_UNKNOWN_LEVEL in all callers */
|
||||
#define WERR_UNKNOWN_LEVEL WERR_INVALID_LEVEL
|
||||
|
||||
/*****************************************************************************
|
||||
Auto-generated Win32 error from:
|
||||
|
@ -4814,7 +4814,7 @@ WERROR _spoolss_GetPrinter(struct pipes_struct *p,
|
||||
struct dcerpc_binding_handle *b;
|
||||
|
||||
if (r->in.level != 3) {
|
||||
result = WERR_UNKNOWN_LEVEL;
|
||||
result = WERR_INVALID_LEVEL;
|
||||
goto err_info_free;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user