From 47455b4d1adf2e01f0994005a6302ae32c012478 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Nov 2009 19:37:42 +0100 Subject: Revert "s3: Do not reference the ndr_tables in the server calls directly" This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761. --- 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 560f28d0e3..fca55563ab 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 = &p->interface->calls[$op];"; + pidl "call = &ndr_table_$if->{NAME}.calls[$op];"; pidl ""; pidl "r = talloc(talloc_tos(), struct $fn->{NAME});"; pidl "if (r == NULL) {"; -- cgit