From 21200b12dc14673f9a610c5798635b6052370dbe Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 8 Aug 2013 17:34:56 +0200 Subject: librpc/ndr: make sure ndr_table_list() always calls ndr_init_table() first. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Signed-off-by: Günther Deschner Reviewed-by: Stefan Metzmacher --- librpc/ndr/ndr_table.c | 1 + 1 file changed, 1 insertion(+) (limited to 'librpc') 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; } -- cgit