Fix authservice count.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 5 Apr 2008 22:42:27 +0000 (00:42 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 5 Apr 2008 22:42:27 +0000 (00:42 +0200)
source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm

index a959dc8..9fb5a6a 100644 (file)
@@ -2248,7 +2248,7 @@ sub FunctionTable($$)
        $self->pidl("");
 
        $self->pidl("static const struct ndr_interface_string_array $interface->{NAME}\_authservices = {");
-       $self->pidl("\t.count\t= $endpoint_count,");
+       $self->pidl("\t.count\t= $authservice_count,");
        $self->pidl("\t.names\t= $interface->{NAME}\_authservice_strings");
        $self->pidl("};");
        $self->pidl("");