summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_pipe_srv.c
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-02-15 18:07:45 +0000
committerJean-François Micouleau <jfm@samba.org>2000-02-15 18:07:45 +0000
commit8688933c7feb87179c178a30e4fc42970fe1da8f (patch)
tree8ef350f73284081739058e446ac9e740fd0f7c35 /source3/rpc_server/srv_pipe_srv.c
parent13ac8fd847f9cc0a7c7d04034dfb8214edccbe48 (diff)
downloadsamba-8688933c7feb87179c178a30e4fc42970fe1da8f.tar.gz
samba-8688933c7feb87179c178a30e4fc42970fe1da8f.tar.bz2
samba-8688933c7feb87179c178a30e4fc42970fe1da8f.zip
fix the reply of rpc_alter_context
OpenPrinterEx is now decoding correctly the query most of the EnumXXX use the new_buffer struct. check the (un)marshalling return code. conclusion: still a long way to go. all the client code has to be rewritten, and I still wonder how to implement correctly the notify stuff. (This used to be commit 3d6d3863751787b08d40268c83221add1487a5c9)
Diffstat (limited to 'source3/rpc_server/srv_pipe_srv.c')
-rw-r--r--source3/rpc_server/srv_pipe_srv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe_srv.c b/source3/rpc_server/srv_pipe_srv.c
index 2cebc8148b..6e8b306760 100644
--- a/source3/rpc_server/srv_pipe_srv.c
+++ b/source3/rpc_server/srv_pipe_srv.c
@@ -796,7 +796,7 @@ static BOOL api_pipe_bind_and_alt_req(pipes_struct *p, prs_struct *pd, enum RPC_
* Create the header, now we know the length.
*/
- init_rpc_hdr(&p->hdr, RPC_BINDACK, RPC_FLG_FIRST | RPC_FLG_LAST,
+ init_rpc_hdr(&p->hdr, pkt_type, RPC_FLG_FIRST | RPC_FLG_LAST,
p->hdr.call_id,
RPC_HEADER_LEN + prs_offset(&out_hdr_ba) + prs_offset(&out_auth),
auth_len);