summaryrefslogtreecommitdiff
path: root/librpc/ndr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-07 00:51:05 +0100
committerGünther Deschner <gd@samba.org>2009-02-07 01:51:35 +0100
commit2f44170836a2011e65c069109f7153568834bc12 (patch)
treee7bf5fababa4eeeb07c6b4c29b2256420c4d9d92 /librpc/ndr
parent6b19c396970f527fc0527c736acdce22de2917ae (diff)
downloadsamba-2f44170836a2011e65c069109f7153568834bc12.tar.gz
samba-2f44170836a2011e65c069109f7153568834bc12.tar.bz2
samba-2f44170836a2011e65c069109f7153568834bc12.zip
spoolss: fix ndr_pull_spoolss_GetPrinterData.
Guenther
Diffstat (limited to 'librpc/ndr')
-rw-r--r--librpc/ndr/ndr_spoolss_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/ndr/ndr_spoolss_buf.c b/librpc/ndr/ndr_spoolss_buf.c
index c18f31a69e..0ab017e084 100644
--- a/librpc/ndr/ndr_spoolss_buf.c
+++ b/librpc/ndr/ndr_spoolss_buf.c
@@ -481,7 +481,7 @@ enum ndr_err_code ndr_pull_spoolss_GetPrinterData(struct ndr_pull *ndr, int flag
NDR_CHECK(ndr_pull___spoolss_GetPrinterData(_ndr_data, flags, &__r));
r->out.data = __r.out.data;
} else {
- r->out.type = SPOOLSS_PRINTER_DATA_TYPE_NULL;
+ *r->out.type = SPOOLSS_PRINTER_DATA_TYPE_NULL;
}
}
return NDR_ERR_SUCCESS;