git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95831c8
)
Return WERR_UNKNOWN_LEVEL for getprinterdriver level 6 as we don't
author
Tim Potter
<tpot@samba.org>
Mon, 9 Sep 2002 01:13:27 +0000
(
01:13
+0000)
committer
Tim Potter
<tpot@samba.org>
Mon, 9 Sep 2002 01:13:27 +0000
(
01:13
+0000)
know how to decode a printer driver into a DRIVER_INFO_6 structure.
source/rpc_client/cli_spoolss.c
patch
|
blob
|
history
diff --git
a/source/rpc_client/cli_spoolss.c
b/source/rpc_client/cli_spoolss.c
index caa2f2901bcce6c3c3fc01c27b7695f237daf47a..448dc7ece5f63ea2375cfe84b9e17f59894abeb1 100644
(file)
--- a/
source/rpc_client/cli_spoolss.c
+++ b/
source/rpc_client/cli_spoolss.c
@@
-767,6
+767,9
@@
WERROR cli_spoolss_getprinterdriver(struct cli_state *cli,
case 3:
decode_printer_driver_3(mem_ctx, r.buffer, 1, &ctr->info3);
break;
+ default:
+ DEBUG(10, ("cli_spoolss_getprinterdriver: unknown info level %d", level));
+ return WERR_UNKNOWN_LEVEL;
}
done: