summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-01-18 22:22:13 +0100
committerAndreas Schneider <asn@samba.org>2013-01-24 17:42:25 +0100
commit11fba102082239c5d70b6314b19dab72b49478ed (patch)
tree7c3511c0ed56d0b76347867db071223957eb491d /source3/rpc_server
parent6bcd3dda2825a8791e7284b3229aa518416e8544 (diff)
downloadsamba-11fba102082239c5d70b6314b19dab72b49478ed.tar.gz
samba-11fba102082239c5d70b6314b19dab72b49478ed.tar.bz2
samba-11fba102082239c5d70b6314b19dab72b49478ed.zip
spoolss: make spoolss deal with ndr64 StartDocPrinter by using proper container object.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index 9601ce6a62..3107cda36f 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -5730,11 +5730,11 @@ WERROR _spoolss_StartDocPrinter(struct pipes_struct *p,
return WERR_INVALID_HANDLE;
}
- if (r->in.level != 1) {
+ if (r->in.info_ctr->level != 1) {
return WERR_UNKNOWN_LEVEL;
}
- info_1 = r->in.info.info1;
+ info_1 = r->in.info_ctr->info.info1;
/*
* a nice thing with NT is it doesn't listen to what you tell it.