Skip to content

Commit

Permalink
pidl-wireshark: cosmetic reformat
Browse files Browse the repository at this point in the history
Change-Id: I86a0d4f13575e5ef7c6968b93ce126e5df981873
Signed-off-by: Matthieu Patou <[email protected]>
Reviewed-by: Stefan Metzmacher <[email protected]>
  • Loading branch information
ekacnet authored and metze-samba committed Oct 9, 2014
1 parent 343db53 commit 7e5048d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pidl/lib/Parse/Pidl/Wireshark/NDR.pm
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,13 @@ sub ElementLevel($$$$$$$$)
my $call;

if ($self->{conformance}->{imports}->{$l->{DATA_TYPE}}) {
$call = $self->{conformance}->{imports}->{$l->{DATA_TYPE}}->{DATA};
$call = $self->{conformance}->{imports}->{$l->{DATA_TYPE}}->{DATA};
$self->{conformance}->{imports}->{$l->{DATA_TYPE}}->{USED} = 1;
} elsif (defined($self->{conformance}->{imports}->{"$pn.$e->{NAME}"})) {
$call = $self->{conformance}->{imports}->{"$pn.$e->{NAME}"}->{DATA};

} elsif (defined($self->{conformance}->{imports}->{"$pn.$e->{NAME}"})) {
$call = $self->{conformance}->{imports}->{"$pn.$e->{NAME}"}->{DATA};
$self->{conformance}->{imports}->{"$pn.$e->{NAME}"}->{USED} = 1;

} elsif (defined($self->{conformance}->{types}->{$l->{DATA_TYPE}})) {
$call= $self->{conformance}->{types}->{$l->{DATA_TYPE}}->{DISSECTOR_NAME};
$self->{conformance}->{types}->{$l->{DATA_TYPE}}->{USED} = 1;
Expand Down

0 comments on commit 7e5048d

Please sign in to comment.