From 81045abddc359ffad3a20c9661ad7439e592166d Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sat, 27 Aug 2005 12:39:56 +0000 Subject: r9683: OK that last fix was too good to be true. (-: (This used to be commit b33774b693f9866295fc11758c826ff150bfb02d) --- source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/pidl/lib/Parse/Pidl') diff --git a/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm b/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm index 60b2371108..92199e13f1 100644 --- a/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm @@ -326,7 +326,7 @@ sub Element($$$) 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)"; -- cgit