summaryrefslogtreecommitdiffstats
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-04 16:46:53 +0100
committerGünther Deschner <gd@samba.org>2010-03-05 15:18:01 +0100
commita99ac4f236d9a93d4ca8bd874cbab89b155c644a (patch)
tree96ab1b4e4d3fe8c90320fc0a59d4ffa026474bdc /source3/utils
parent80d2e22cd8b1d6ef8c6d5b40f465995d5ba14fe8 (diff)
downloadsamba-a99ac4f236d9a93d4ca8bd874cbab89b155c644a.tar.gz
samba-a99ac4f236d9a93d4ca8bd874cbab89b155c644a.tar.xz
samba-a99ac4f236d9a93d4ca8bd874cbab89b155c644a.zip
s3-net: fix net after spoolss_EnumPrinterDataEx IDL change.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_printer.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index 20770835f7..6c11a2feb2 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -2483,17 +2483,10 @@ NTSTATUS rpc_printer_migrate_settings_internals(struct net_context *c,
struct regval_blob v;
- result = push_spoolss_PrinterData(mem_ctx, &blob,
- info[j].type,
- info[j].data);
- if (!W_ERROR_IS_OK(result)) {
- goto done;
- }
-
fstrcpy(v.valuename, info[j].value_name);
v.type = info[j].type;
- v.data_p = blob.data;
- v.size = blob.length;
+ v.data_p = info[j].data->data;
+ v.size = info[j].data->length;
if (c->opt_verbose) {
display_reg_value(subkey, v);