summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-08-04 23:20:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:24 -0500
commit8ea8a78abc233ecbee2972e1feff9d16715a3b8f (patch)
tree832647d7ff166088a7104e0b7a1224556ad5c2f6
parent242f8041fb4a288583b9552ff266a80af1abbb37 (diff)
downloadsamba-8ea8a78abc233ecbee2972e1feff9d16715a3b8f.tar.gz
samba-8ea8a78abc233ecbee2972e1feff9d16715a3b8f.tar.bz2
samba-8ea8a78abc233ecbee2972e1feff9d16715a3b8f.zip
r9076: fix two other issues invented along the
cli_spoolss_enumprinterkey-changes. Guenther (This used to be commit db8fce2e05bf1981866a7737703ad414ea91febc)
-rw-r--r--source3/rpcclient/cmd_spoolss.c2
-rw-r--r--source3/utils/net_rpc_printer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index 7591053f54..864722ffdc 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -2296,7 +2296,7 @@ static WERROR cmd_spoolss_enum_printerkey( struct cli_state *cli,
/* Enumerate subkeys */
- result = cli_spoolss_enumprinterkey(cli, mem_ctx, &hnd, keyname, NULL, NULL);
+ result = cli_spoolss_enumprinterkey(cli, mem_ctx, &hnd, keyname, &keylist, NULL);
if (!W_ERROR_IS_OK(result))
goto done;
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index b47f43b178..6194f40b09 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -939,7 +939,7 @@ net_spoolss_enumprinterkey(struct cli_state *cli, TALLOC_CTX *mem_ctx,
WERROR result;
/* enumprinterkey call */
- result = cli_spoolss_enumprinterkey(cli, mem_ctx, hnd, keyname, NULL, NULL);
+ result = cli_spoolss_enumprinterkey(cli, mem_ctx, hnd, keyname, keylist, NULL);
if (!W_ERROR_IS_OK(result)) {
printf("enumprinterkey failed: %s\n", dos_errstr(result));