aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-10-29 08:32:52 +0100
committerAnders Broman <a.broman58@gmail.com>2015-11-01 09:00:13 +0000
commit4f04a3cc312014221dab8f679d9984ea0d1c0c29 (patch)
tree637d6b080b340d175763bbcc7dfdaed9b2fd2615 /tools
parent56d01272474f9022a0ace0011f649dd59f573813 (diff)
tools/pidl: avoid trailing tabs
Change-Id: I293dd6f2d7ff3b0e27bc3cc49e69977604f12260 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-on: https://code.wireshark.org/review/11433 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index bd4c79d3e2..2351b2a256 100644
--- a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@ -743,8 +743,11 @@ sub Struct($$$$)
}
$self->deindent;
$self->pidl_code("}");
+ $self->pidl_code("");
- $self->pidl_code("\n$res");
+ $self->deindent;
+ $self->pidl_code("$res");
+ $self->indent;
$self->pidl_code("proto_item_set_len(item, offset-old_offset);\n");
if (defined($doalign) and $doalign == 1) {