[PATCH] pidl: Fix python generated code

jim jim.brown at rsmas.miami.edu
Tue Jun 20 13:49:06 UTC 2017


Why not change the comparison to "<=" from "<" and avoid the "+1" change?

On 6/20/2017 9:36 AM, Volker Lendecke via samba-technical wrote:
> -	$self->pidl("if (ndr_table_$iface\.num_calls < $fn->{OPNUM}) {");
> +	$self->pidl("if (ndr_table_$iface\.num_calls < " . ($fn->{OPNUM}+1) .
> +		    ") {");




More information about the samba-technical mailing list