summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-08-08 17:34:56 +0200
committerGünther Deschner <gd@samba.org>2013-09-20 13:07:01 +0200
commit21200b12dc14673f9a610c5798635b6052370dbe (patch)
treee111bd1b5dfd8d5f990add922eff5a823a679d2c
parent88c1dbf722889a2d7379cdcbac1ce9b140a42356 (diff)
downloadsamba-21200b12dc14673f9a610c5798635b6052370dbe.tar.gz
samba-21200b12dc14673f9a610c5798635b6052370dbe.tar.bz2
samba-21200b12dc14673f9a610c5798635b6052370dbe.zip
librpc/ndr: make sure ndr_table_list() always calls ndr_init_table() first.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--librpc/ndr/ndr_table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_table.c b/librpc/ndr/ndr_table.c
index 01d909436f..f73b9fcaf5 100644
--- a/librpc/ndr/ndr_table.c
+++ b/librpc/ndr/ndr_table.c
@@ -116,6 +116,7 @@ const struct ndr_interface_table *ndr_table_by_uuid(const struct GUID *uuid)
*/
const struct ndr_interface_list *ndr_table_list(void)
{
+ ndr_table_init();
return ndr_interfaces;
}