svn commit: samba r19553 - in branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl: .

Stefan (metze) Metzmacher metze at samba.org
Mon Nov 6 13:50:49 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jelmer at samba.org schrieb:
> Author: jelmer
> Date: 2006-11-04 15:40:05 +0000 (Sat, 04 Nov 2006)
> New Revision: 19553
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19553
> 
> Log:
> Add check for correct API usage.
> 
> Modified:
>    branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm
> 
> 
> Changeset:
> Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm
> ===================================================================
> --- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm	2006-11-04 13:28:19 UTC (rev 19552)
> +++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm	2006-11-04 15:40:05 UTC (rev 19553)
> @@ -166,6 +166,8 @@
>  {
>  	my $bitmap = shift;
>  
> +	$bitmap->{TYPE} eq "BITMAP" or die("not an enum");
> +

shouldn't that be die("not a bitmap")?

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFTz25m70gjA5TCD8RAgyZAKCOwGsltfQp1UtnHp1Us9RWhnAoAwCbBvEP
vFPLGWf1bfRHkgcLZ1kJgxs=
=hEKa
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list