s3-rpc_server: Do not set msg_ctx twice
authorSimo Sorce <idra@samba.org>
Thu, 21 Jul 2011 21:10:06 +0000 (17:10 -0400)
committerSimo Sorce <idra@samba.org>
Thu, 21 Jul 2011 22:47:28 +0000 (00:47 +0200)
msg_ctx was already passed to make_base_pipes_struct,
no need to set it again.

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Fri Jul 22 00:47:28 CEST 2011 on sn-devel-104

source3/rpc_server/rpc_server.c

index 2a0f67549799e0c753a44fd8cc7929b20512c0a7..269b7014233b6f70cf5b9a3d9f6ed549f37be8e2 100644 (file)
@@ -74,7 +74,6 @@ static int make_server_pipes_struct(TALLOC_CTX *mem_ctx,
                *perrno = ret;
                return -1;
        }
-       p->msg_ctx = msg_ctx;
 
        if (session_info->unix_token && session_info->unix_info && session_info->security_token) {
                /* Don't call create_local_token(), we already have the full details here */