pidl:Samba3/ServerNDR: correctly initialise ndr_push struct
commitc10a24dc199963b9ca726c735266582dd46d287c
authorStefan Metzmacher <metze@samba.org>
Tue, 25 Jan 2011 18:46:18 +0000 (25 19:46 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 26 Jan 2011 16:47:12 +0000 (26 08:47 -0800)
treea085e6003a80ac94b878fee44da60399acf102bd
parentb271a9fdfcc4b5c465fd644f211658f07a8bad21
pidl:Samba3/ServerNDR: correctly initialise ndr_push struct

We need to copy the ptr_count from the ndr_pull struct to the ndr_push struct,
otherwise we'll reuse full pointer ids, which will cause the client to
fail in the ndr unmarshalling.

metze
(cherry picked from commit 4b068bb91994a0fc3a76abd45bff4e2fe53e9a34)
pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm