diff options
Diffstat (limited to 'source3/rpc_server/rpc_handles.c')
-rw-r--r-- | source3/rpc_server/rpc_handles.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/rpc_handles.c b/source3/rpc_server/rpc_handles.c index 7cc1b43611..fa4100fb97 100644 --- a/source3/rpc_server/rpc_handles.c +++ b/source3/rpc_server/rpc_handles.c @@ -62,12 +62,12 @@ static bool is_samr_lsa_pipe(const struct ndr_syntax_id *syntax) || ndr_syntax_id_equal(syntax, &ndr_table_lsarpc.syntax_id)); } -size_t num_pipe_handles(struct handle_list *list) +size_t num_pipe_handles(pipes_struct *p) { - if (list == NULL) { + if (p->pipe_handles == NULL) { return 0; } - return list->count; + return p->pipe_handles->count; } /**************************************************************************** |