summaryrefslogtreecommitdiffstats
path: root/source/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
commit70beabf73bdaad7b6a60e24b7a11798a411bed02 (patch)
tree95ceceb182bc30e29c79ebb7023e09d691dc8762 /source/rpc_client
parent8171cc56428920d8b765d077198893201f68766e (diff)
downloadsamba-70beabf73bdaad7b6a60e24b7a11798a411bed02.tar.gz
samba-70beabf73bdaad7b6a60e24b7a11798a411bed02.tar.xz
samba-70beabf73bdaad7b6a60e24b7a11798a411bed02.zip
Ooops - forgot to check the rpcclient and smbcacls compile with the new
code :-(. Jeremy.
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_client/cli_spoolss.c b/source/rpc_client/cli_spoolss.c
index 461bddefaf8..75e5e66d90a 100644
--- a/source/rpc_client/cli_spoolss.c
+++ b/source/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) &&