diff options
author | Günther Deschner <gd@samba.org> | 2009-02-06 18:32:44 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-06 18:36:47 +0100 |
commit | 1ebd35e872a7ef4def2a835ecb371079020fa53d (patch) | |
tree | 84ecf42cb3c39a04025137755914c84137a2ef89 /librpc/ndr | |
parent | 117d6d1686bbbd158f0c74836c0e173c02a1b77b (diff) | |
download | samba-1ebd35e872a7ef4def2a835ecb371079020fa53d.tar.gz samba-1ebd35e872a7ef4def2a835ecb371079020fa53d.tar.bz2 samba-1ebd35e872a7ef4def2a835ecb371079020fa53d.zip |
spoolss: fix ndr_pull/push_spoolss_GetPrinterData.
Guenther
Diffstat (limited to 'librpc/ndr')
-rw-r--r-- | librpc/ndr/ndr_spoolss_buf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librpc/ndr/ndr_spoolss_buf.c b/librpc/ndr/ndr_spoolss_buf.c index 501ddff681..c18f31a69e 100644 --- a/librpc/ndr/ndr_spoolss_buf.c +++ b/librpc/ndr/ndr_spoolss_buf.c @@ -421,7 +421,7 @@ enum ndr_err_code ndr_push_spoolss_GetPrinterData(struct ndr_push *ndr, int flag _ndr_info = ndr_push_init_ctx(ndr, ndr->iconv_convenience); NDR_ERR_HAVE_NO_MEMORY(_ndr_info); _ndr_info->flags= ndr->flags; - __r.in.type = r->out.type; + __r.in.type = *r->out.type; __r.out.data = r->out.data; NDR_CHECK(ndr_push___spoolss_GetPrinterData(_ndr_info, flags, &__r)); if (r->in.offered > _ndr_info->offset) { @@ -476,7 +476,7 @@ enum ndr_err_code ndr_pull_spoolss_GetPrinterData(struct ndr_pull *ndr, int flag struct ndr_pull *_ndr_data = ndr_pull_init_blob(&_r.out.data, ndr, ndr->iconv_convenience); NDR_ERR_HAVE_NO_MEMORY(_ndr_data); _ndr_data->flags= ndr->flags; - __r.in.type = r->out.type; + __r.in.type = *r->out.type; __r.out.data = r->out.data; NDR_CHECK(ndr_pull___spoolss_GetPrinterData(_ndr_data, flags, &__r)); r->out.data = __r.out.data; |