git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c496f58
)
r9682: Jelmer, I think this fixes another case where the parser generator was
author
Tim Potter
<tpot@samba.org>
Sat, 27 Aug 2005 12:24:02 +0000
(12:24 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:34:40 +0000
(13:34 -0500)
producing duplicate function definitions. Can you check this out?
(This used to be commit
e9bb695e74c98ea1f2647dacc7c9c4b8ad37bd72
)
source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
patch
|
blob
|
history
diff --git
a/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
b/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
index 92199e13f108e40fa99027a9231d1db20588ace2..60b237110880ad1bfdf701a05152a2f6eb6d0231 100644
(file)
--- 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}}) {
-
nex
t if ($_->{TYPE} eq "SWITCH");
+
las
t 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)";