summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-02-28 01:38:12 +0000
committerJeremy Allison <jra@samba.org>2001-02-28 01:38:12 +0000
commit6ed9b52862fa076c26a267ab48df5a097f17edd6 (patch)
tree8b12603d999285c516f8e7239afdf37658dc7b6b /source3/rpc_client
parent403562cb94bc06707f86ec87caf0cf2d32a02ed7 (diff)
downloadsamba-6ed9b52862fa076c26a267ab48df5a097f17edd6.tar.gz
samba-6ed9b52862fa076c26a267ab48df5a097f17edd6.tar.bz2
samba-6ed9b52862fa076c26a267ab48df5a097f17edd6.zip
Ooops - forgot to check the rpcclient and smbcacls compile with the new
code :-(. Jeremy. (This used to be commit 70beabf73bdaad7b6a60e24b7a11798a411bed02)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index 461bddefaf..75e5e66d90 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -549,7 +549,7 @@ BOOL spoolss_addprinterex(POLICY_HND *hnd, const char* srv_name, PRINTER_INFO_2
strupper(the_client_name);
- make_spoolss_q_addprinterex(&q_o, srv_name, the_client_name,
+ make_spoolss_q_addprinterex(mem_ctx, &q_o, srv_name, the_client_name,
/* "Administrator", */
con->pCli_state->user_name,
2, info2);
@@ -791,7 +791,7 @@ uint32 spoolss_addprinterdriver(const char *srv_name, uint32 level, PRINTER_DRIV
prs_init(&rbuf, 0, 4, mem_ctx, UNMARSHALL);
/* make the ADDPRINTERDRIVER PDU */
- make_spoolss_q_addprinterdriver(&q_o, srv_name, level, info);
+ make_spoolss_q_addprinterdriver(mem_ctx, &q_o, srv_name, level, info);
/* turn the data into an io stream */
if (spoolss_io_q_addprinterdriver("", &q_o, &buf, 0) &&