diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-08 19:37:53 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-08 19:43:47 +0100 |
commit | 27847e8386a005b4369d99cad62215a113a0a0f9 (patch) | |
tree | fa94d2690f3b5f334f823ec266bb6aa1023b324d /source3/rpc_server/srv_lsa_hnd.c | |
parent | 47455b4d1adf2e01f0994005a6302ae32c012478 (diff) | |
download | samba-27847e8386a005b4369d99cad62215a113a0a0f9.tar.gz samba-27847e8386a005b4369d99cad62215a113a0a0f9.tar.bz2 samba-27847e8386a005b4369d99cad62215a113a0a0f9.zip |
Revert "s3: Consolidate getting the name out of a pipes_struct"
This reverts commit 9621306351cdb469ef393a6d8cbeea456bc4bd9f.
Diffstat (limited to 'source3/rpc_server/srv_lsa_hnd.c')
-rw-r--r-- | source3/rpc_server/srv_lsa_hnd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_lsa_hnd.c b/source3/rpc_server/srv_lsa_hnd.c index 4233b6f0e6..695164679f 100644 --- a/source3/rpc_server/srv_lsa_hnd.c +++ b/source3/rpc_server/srv_lsa_hnd.c @@ -286,7 +286,8 @@ void close_policy_by_pipe(pipes_struct *p) SAFE_FREE(p->pipe_handles); DEBUG(10,("close_policy_by_pipe: deleted handle list for " - "pipe %s\n", get_pipe_name_tos(p))); + "pipe %s\n", + get_pipe_name_from_syntax(talloc_tos(), &p->syntax))); } } @@ -328,7 +329,7 @@ void *_policy_handle_create(struct pipes_struct *p, struct policy_handle *hnd, if (p->pipe_handles->count > MAX_OPEN_POLS) { DEBUG(0, ("policy_handle_create: ERROR: too many handles (%d) " "on pipe %s.\n", (int)p->pipe_handles->count, - get_pipe_name_tos(p))); + get_pipe_name_from_syntax(talloc_tos(), &p->syntax))); *pstatus = NT_STATUS_INSUFFICIENT_RESOURCES; return NULL; } |