From 2f44170836a2011e65c069109f7153568834bc12 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sat, 7 Feb 2009 00:51:05 +0100 Subject: spoolss: fix ndr_pull_spoolss_GetPrinterData. Guenther --- librpc/ndr/ndr_spoolss_buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit