summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/Samba3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-08 19:37:42 +0100
committerVolker Lendecke <vl@samba.org>2009-11-08 19:43:46 +0100
commit47455b4d1adf2e01f0994005a6302ae32c012478 (patch)
treef3317aca52f1ca5c3cc9f7ed4a429250295941d4 /pidl/lib/Parse/Pidl/Samba3
parent82c35e460e00d6f9e61df2d20ea9d0ccf765636a (diff)
downloadsamba-47455b4d1adf2e01f0994005a6302ae32c012478.tar.gz
samba-47455b4d1adf2e01f0994005a6302ae32c012478.tar.bz2
samba-47455b4d1adf2e01f0994005a6302ae32c012478.zip
Revert "s3: Do not reference the ndr_tables in the server calls directly"
This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761.
Diffstat (limited to 'pidl/lib/Parse/Pidl/Samba3')
-rw-r--r--pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm2
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 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) {";