summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-01 00:30:04 +0100
committerVolker Lendecke <vl@samba.org>2009-02-01 14:34:22 +0100
commit57de60a83f3f88566d356547eb20a6f0569f76ec (patch)
treeacdc73ad43f6a115ef07c767f87ace3f60551cd8 /source3/rpcclient
parentdba6624dca024d144b0adb1016d17d176d38b735 (diff)
downloadsamba-57de60a83f3f88566d356547eb20a6f0569f76ec.tar.gz
samba-57de60a83f3f88566d356547eb20a6f0569f76ec.tar.bz2
samba-57de60a83f3f88566d356547eb20a6f0569f76ec.zip
cli_get_pipe_name_from_interface does not really need a talloc_ctx
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 050e78d274..9a02c129b5 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -619,16 +619,14 @@ static NTSTATUS do_cmd(struct cli_state *cli,
default:
DEBUG(0, ("Could not initialise %s. Invalid "
"auth type %u\n",
- cli_get_pipe_name_from_iface(
- debug_ctx(),
+ get_pipe_name_from_iface(
cmd_entry->interface),
pipe_default_auth_type ));
return NT_STATUS_UNSUCCESSFUL;
}
if (!NT_STATUS_IS_OK(ntresult)) {
DEBUG(0, ("Could not initialise %s. Error was %s\n",
- cli_get_pipe_name_from_iface(
- debug_ctx(),
+ get_pipe_name_from_iface(
cmd_entry->interface),
nt_errstr(ntresult) ));
return ntresult;
@@ -657,8 +655,7 @@ static NTSTATUS do_cmd(struct cli_state *cli,
if (!NT_STATUS_IS_OK(ntresult)) {
DEBUG(0, ("Could not initialise credentials for %s.\n",
- cli_get_pipe_name_from_iface(
- debug_ctx(),
+ get_pipe_name_from_iface(
cmd_entry->interface)));
return ntresult;
}