From 98fb71782e05ae72cd6abeb38b6e0b96a50c1761 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Nov 2009 10:51:34 +0100 Subject: s3: Do not reference the ndr_tables in the server calls directly This involves storing the interface table in the pipes_struct --- pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidl/lib/Parse') 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) {"; -- cgit