summaryrefslogtreecommitdiff
path: root/source3/utils
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/utils
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/utils')
-rw-r--r--source3/utils/net_rpc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index a37bbbd566..bdf92a4e4b 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -181,8 +181,7 @@ int run_rpc_command(struct net_context *c,
}
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(0, ("Could not initialise pipe %s. Error was %s\n",
- cli_get_pipe_name_from_iface(
- debug_ctx(), interface),
+ get_pipe_name_from_iface(interface),
nt_errstr(nt_status) ));
cli_shutdown(cli);
return -1;