diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-08 11:35:53 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-08 13:12:15 +0100 |
commit | 494b2aff8826947e3bd556aecb175746163da485 (patch) | |
tree | 55168d16ade6971be5de092305eb7a3016336820 /pidl/lib/Parse | |
parent | 98fb71782e05ae72cd6abeb38b6e0b96a50c1761 (diff) | |
download | samba-494b2aff8826947e3bd556aecb175746163da485.tar.gz samba-494b2aff8826947e3bd556aecb175746163da485.tar.xz samba-494b2aff8826947e3bd556aecb175746163da485.zip |
s3: Do not reference ndr_table when calling rpc_srv_register
Diffstat (limited to 'pidl/lib/Parse')
-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 560f28d0e3a..ba592f5fd08 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_table_$if->{NAME}, 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_".$uif."_UUID, NDR_".$uif."_VERSION, api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));"; pidl "}"; pidl_hdr "#endif /* __SRV_$uif\__ */"; |