summaryrefslogtreecommitdiff
path: root/source4/pidl
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-08-27 12:39:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:40 -0500
commit81045abddc359ffad3a20c9661ad7439e592166d (patch)
treecd8d07f0e042d0448536ce5a4098747dc2e06d48 /source4/pidl
parent54dc527a9e2bdc0f73b4638189a051070f0328bf (diff)
downloadsamba-81045abddc359ffad3a20c9661ad7439e592166d.tar.gz
samba-81045abddc359ffad3a20c9661ad7439e592166d.tar.bz2
samba-81045abddc359ffad3a20c9661ad7439e592166d.zip
r9683: OK that last fix was too good to be true. (-:
(This used to be commit b33774b693f9866295fc11758c826ff150bfb02d)
Diffstat (limited to 'source4/pidl')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm2
1 files changed, 1 insertions, 1 deletions
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)";