Author: tpot
Date: 2005-08-27 12:39:56 +0000 (Sat, 27 Aug 2005)
New Revision: 9683

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9683

Log:
OK that last fix was too good to be true.  (-:

Modified:
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/NDR.pm


Changeset:
Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/NDR.pm       
2005-08-27 12:24:02 UTC (rev 9682)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/NDR.pm       
2005-08-27 12:39:56 UTC (rev 9683)
@@ -326,7 +326,7 @@
        my $add = "";
 
        foreach (@{$e->{LEVELS}}) {
-               last if ($_->{TYPE} eq "SWITCH");
+               next if ($_->{TYPE} eq "SWITCH");
                pidl_def "static int $dissectorname$add(tvbuff_t *tvb, int 
offset, packet_info *pinfo, proto_tree *tree, guint8 *drep);";
                pidl_code "static int";
                pidl_code "$dissectorname$add(tvbuff_t *tvb, int offset, 
packet_info *pinfo, proto_tree *tree, guint8 *drep)";

Reply via email to