diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-08 10:51:34 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-08 13:12:14 +0100 |
commit | 98fb71782e05ae72cd6abeb38b6e0b96a50c1761 (patch) | |
tree | d70c44840e3cc9b69911d779a0f61a29d76ffb00 /pidl | |
parent | 9621306351cdb469ef393a6d8cbeea456bc4bd9f (diff) | |
download | samba-98fb71782e05ae72cd6abeb38b6e0b96a50c1761.tar.gz samba-98fb71782e05ae72cd6abeb38b6e0b96a50c1761.tar.bz2 samba-98fb71782e05ae72cd6abeb38b6e0b96a50c1761.zip |
s3: Do not reference the ndr_tables in the server calls directly
This involves storing the interface table in the pipes_struct
Diffstat (limited to '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 fca55563ab..560f28d0e3 100644 --- a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm +++ b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm @@ -148,7 +148,7 @@ sub ParseFunction($$) pidl "DATA_BLOB blob;"; pidl "struct $fn->{NAME} *r;"; pidl ""; - pidl "call = &ndr_table_$if->{NAME}.calls[$op];"; + pidl "call = &p->interface->calls[$op];"; pidl ""; pidl "r = talloc(talloc_tos(), struct $fn->{NAME});"; pidl "if (r == NULL) {"; |