s3-rpc_server: Create common function to allocate pipes_struct
authorSimo Sorce <idra@samba.org>
Thu, 21 Jul 2011 15:02:59 +0000 (11:02 -0400)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 21 Jul 2011 17:50:02 +0000 (19:50 +0200)
commit156a0ffe542339952a6e2db191ffc586227edd5a
tree84d6b14cb96e7b0ed9c4311df175e01ef0115f70
parent759a04e58a88b400dbf0cafc2b86ab58ea196433
s3-rpc_server: Create common function to allocate pipes_struct

Avoid code duplication and fix bug where a new pipe was not added to
InternalPipes upon creation in make_server_pipes_struct()

Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Jul 21 19:50:02 CEST 2011 on sn-devel-104
source3/rpc_server/rpc_handles.c
source3/rpc_server/rpc_ncacn_np.c
source3/rpc_server/rpc_pipes.h
source3/rpc_server/rpc_server.c