summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-08 04:43:10 +0000
committerTim Potter <tpot@samba.org>2002-03-08 04:43:10 +0000
commit7d24b502c07174a8ec07c2aea65a5861a5606129 (patch)
treed4bc42cb1c6a4ee48092d1cea78a0103214fc46a /source3/libsmb
parentbc6959c6f62ae5697fe32867ee6d7eb496bd3195 (diff)
downloadsamba-7d24b502c07174a8ec07c2aea65a5861a5606129.tar.gz
samba-7d24b502c07174a8ec07c2aea65a5861a5606129.tar.bz2
samba-7d24b502c07174a8ec07c2aea65a5861a5606129.zip
Added case statment for decoding enumprinters level 0 result.
(This used to be commit 33d49ed68c4d6a66217558b13d960764c235089a)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cli_spoolss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/cli_spoolss.c b/source3/libsmb/cli_spoolss.c
index 3aaff10b49..2d81f63f89 100644
--- a/source3/libsmb/cli_spoolss.c
+++ b/source3/libsmb/cli_spoolss.c
@@ -473,6 +473,10 @@ WERROR cli_spoolss_enum_printers(struct cli_state *cli, TALLOC_CTX *mem_ctx,
goto done;
switch (level) {
+ case 0:
+ decode_printer_info_0(mem_ctx, r.buffer, r.returned,
+ &ctr->printers_0);
+ break;
case 1:
decode_printer_info_1(mem_ctx, r.buffer, r.returned,
&ctr->printers_1);