diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-08 19:37:33 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-08 19:43:46 +0100 |
commit | 82c35e460e00d6f9e61df2d20ea9d0ccf765636a (patch) | |
tree | d70c44840e3cc9b69911d779a0f61a29d76ffb00 /pidl/lib/Parse/Pidl | |
parent | b02c46bef944712834045399c883ea14f45bde94 (diff) | |
download | samba-82c35e460e00d6f9e61df2d20ea9d0ccf765636a.tar.gz samba-82c35e460e00d6f9e61df2d20ea9d0ccf765636a.tar.bz2 samba-82c35e460e00d6f9e61df2d20ea9d0ccf765636a.zip |
Revert "s3: Do not reference ndr_table when calling rpc_srv_register"
This reverts commit 494b2aff8826947e3bd556aecb175746163da485.
Diffstat (limited to 'pidl/lib/Parse/Pidl')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm index ba592f5fd0..560f28d0e3 100644 --- a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm +++ b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm @@ -306,7 +306,7 @@ sub ParseInterface($) pidl_hdr "NTSTATUS rpc_$if->{NAME}_init(void);"; pidl "NTSTATUS rpc_$if->{NAME}_init(void)"; pidl "{"; - pidl "\treturn rpc_srv_register(SMB_RPC_INTERFACE_VERSION, \"$if->{NAME}\", \"$if->{NAME}\", NDR_".$uif."_UUID, NDR_".$uif."_VERSION, api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));"; + pidl "\treturn rpc_srv_register(SMB_RPC_INTERFACE_VERSION, \"$if->{NAME}\", \"$if->{NAME}\", \&ndr_table_$if->{NAME}, api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));"; pidl "}"; pidl_hdr "#endif /* __SRV_$uif\__ */"; |