summaryrefslogtreecommitdiffstats
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-18 00:36:54 +0100
committerGünther Deschner <gd@samba.org>2009-03-18 01:12:16 +0100
commit4fb79b4fe78e89b7bbee5b280294037f43e0e2a1 (patch)
treefadb04997c4b8d6087a91ba18e43b25993119999 /librpc
parentb4ae0e8d84c26d548dbce9f4b6d74254725fe428 (diff)
downloadsamba-4fb79b4fe78e89b7bbee5b280294037f43e0e2a1.tar.gz
samba-4fb79b4fe78e89b7bbee5b280294037f43e0e2a1.tar.xz
samba-4fb79b4fe78e89b7bbee5b280294037f43e0e2a1.zip
spoolss: fix spoolss_PrinterEnumValues w.r.t. size calculation of PrinterData.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/spoolss.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index fc87814fc0c..59d90ec0031 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -2223,7 +2223,7 @@ import "misc.idl", "security.idl", "winreg.idl";
[relative] nstring *value_name;
[value(2*strlen_m_term(value_name))] uint32 value_name_len;
winreg_Type type;
- [relative,switch_is(type),subcontext(0),subcontext_size(data_length)] spoolss_PrinterData *data;
+ [relative,switch_is(type),subcontext(0),subcontext_size(r->data_length)] spoolss_PrinterData *data;
[value(ndr_size_spoolss_PrinterData(data, type, ndr->iconv_convenience, ndr->flags))] uint32 data_length;
} spoolss_PrinterEnumValues;