diff options
Diffstat (limited to 'source3/rpc_server/dfs')
-rw-r--r-- | source3/rpc_server/dfs/srv_dfs_nt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_server/dfs/srv_dfs_nt.c b/source3/rpc_server/dfs/srv_dfs_nt.c index efb0a1ec0a..0a9a7ccd62 100644 --- a/source3/rpc_server/dfs/srv_dfs_nt.c +++ b/source3/rpc_server/dfs/srv_dfs_nt.c @@ -281,8 +281,7 @@ WERROR _dfs_Enum(struct pipes_struct *p, struct dfs_Enum *r) size_t i; TALLOC_CTX *ctx = talloc_tos(); - jn = enum_msdfs_links(msg_ctx_to_sconn(p->msg_ctx), - ctx, &num_jn); + jn = enum_msdfs_links(ctx, &num_jn); if (!jn || num_jn == 0) { num_jn = 0; jn = NULL; |