diff options
author | Günther Deschner <gd@samba.org> | 2010-03-04 16:46:53 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-03-05 15:18:01 +0100 |
commit | a99ac4f236d9a93d4ca8bd874cbab89b155c644a (patch) | |
tree | 96ab1b4e4d3fe8c90320fc0a59d4ffa026474bdc /source3 | |
parent | 80d2e22cd8b1d6ef8c6d5b40f465995d5ba14fe8 (diff) | |
download | samba-a99ac4f236d9a93d4ca8bd874cbab89b155c644a.tar.gz samba-a99ac4f236d9a93d4ca8bd874cbab89b155c644a.tar.bz2 samba-a99ac4f236d9a93d4ca8bd874cbab89b155c644a.zip |
s3-net: fix net after spoolss_EnumPrinterDataEx IDL change.
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_rpc_printer.c | 11 |
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); |