diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-16 21:50:25 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-16 22:22:38 +0200 |
commit | 8025edf335dbb66c7efa1d51a0e600a9e3c13bba (patch) | |
tree | 5c2445713e769723b3b4fbc907bdb142c5453f74 | |
parent | 29049aa67085fb7f7059a2a2f5f89b558155d6f5 (diff) | |
download | samba-8025edf335dbb66c7efa1d51a0e600a9e3c13bba.tar.gz samba-8025edf335dbb66c7efa1d51a0e600a9e3c13bba.tar.bz2 samba-8025edf335dbb66c7efa1d51a0e600a9e3c13bba.zip |
Add the interface ID to the rpc_pipe_register_commands call in s3 srv code
(This used to be commit efe249928312f730ee580e72b9c640ef88b0ed5b)
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm index 4af9da0f52..b21d3f4bbc 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm @@ -235,7 +235,7 @@ sub ParseInterface($) pidl_hdr "NTSTATUS rpc_$if->{NAME}_init(void);"; pidl "NTSTATUS rpc_$if->{NAME}_init(void)"; pidl "{"; - pidl "\treturn rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, \"$if->{NAME}\", \"$if->{NAME}\", api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));"; + pidl "\treturn rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, \"$if->{NAME}\", \"$if->{NAME}\", \&ndr_table_$if->{NAME}.syntax_id, api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));"; pidl "}"; pidl_hdr "#endif /* __SRV_$uif\__ */"; |