From 268df12ab6b60052d4f5e8ff723f2528ace0dbfb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 1 Nov 2009 11:33:59 +0100 Subject: s3: Get rid of a NULL terminator --- source3/rpc_client/cli_pipe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 824c32e8d8..7a05c9b5fb 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -51,7 +51,6 @@ static const struct ndr_interface_table *pipe_names[] = &ndr_table_ntsvcs, &ndr_table_epmapper, &ndr_table_drsuapi, - NULL }; static const char *get_pipe_name_from_iface( @@ -92,7 +91,7 @@ const char *get_pipe_name_from_syntax(TALLOC_CTX *mem_ctx, const char *result; int i; - for (i = 0; pipe_names[i]; i++) { + for (i = 0; isyntax_id, interface)) { result = get_pipe_name_from_iface( -- cgit