summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-06 18:34:04 +0100
committerGünther Deschner <gd@samba.org>2009-02-06 18:37:16 +0100
commit143a5b89eeb669640299e67d82decb38512d4f3c (patch)
tree17903b43c25d1602e91fc3d17157a48672442aa1 /source4
parentb156bd2124a7be375f21e3086629fffa83500032 (diff)
downloadsamba-143a5b89eeb669640299e67d82decb38512d4f3c.tar.gz
samba-143a5b89eeb669640299e67d82decb38512d4f3c.tar.bz2
samba-143a5b89eeb669640299e67d82decb38512d4f3c.zip
s4-spoolss: fix dcesrv_spoolss_GetPrinterData.
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/spoolss/dcesrv_spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.c b/source4/rpc_server/spoolss/dcesrv_spoolss.c
index 21f9cfbc10..2ba1a65155 100644
--- a/source4/rpc_server/spoolss/dcesrv_spoolss.c
+++ b/source4/rpc_server/spoolss/dcesrv_spoolss.c
@@ -575,8 +575,8 @@ static WERROR dcesrv_spoolss_GetPrinterData(struct dcesrv_call_state *dce_call,
W_ERROR_NOT_OK_RETURN(status);
- *r->out.needed = ndr_size_spoolss_PrinterData(&r->out.data, r->out.type, ic, 0);
- r->out.type = SPOOLSS_BUFFER_OK(r->out.type, SPOOLSS_PRINTER_DATA_TYPE_NULL);
+ *r->out.needed = ndr_size_spoolss_PrinterData(&r->out.data, *r->out.type, ic, 0);
+ *r->out.type = SPOOLSS_BUFFER_OK(*r->out.type, SPOOLSS_PRINTER_DATA_TYPE_NULL);
r->out.data = SPOOLSS_BUFFER_OK(r->out.data, r->out.data);
return SPOOLSS_BUFFER_OK(WERR_OK, WERR_MORE_DATA);
}