tools/pidl: avoid trailing tabs
authorStefan Metzmacher <metze@samba.org>
Thu, 29 Oct 2015 07:32:52 +0000 (08:32 +0100)
committerAnders Broman <a.broman58@gmail.com>
Sun, 1 Nov 2015 09:00:13 +0000 (09:00 +0000)
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>
tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm

index bd4c79d3e2445926a5e8121f3d24e0211c64ef57..2351b2a2565e93a4d85c25a75d0215e25e70b2a9 100644 (file)
@@ -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) {