pidl-wireshark: fix trailing white space in the HF definition
authorMatthieu Patou <mat@matws.net>
Tue, 8 Oct 2013 19:22:18 +0000 (12:22 -0700)
committerStefan Metzmacher <metze@samba.org>
Wed, 9 Oct 2013 06:40:47 +0000 (08:40 +0200)
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
pidl/lib/Parse/Pidl/Wireshark/NDR.pm
pidl/tests/wireshark-ndr.pl

index 1151dc0807e93e67c4966cf49a6c96c38b79ca04..0b2940ab603e6d947821dd9cbca7cf3ef6f91e1c 100644 (file)
@@ -1192,7 +1192,7 @@ sub DumpHfList($)
 
        foreach (values %{$self->{conformance}->{header_fields}}) 
        {
-               $res .= "\t{ &$_->{INDEX}, 
+               $res .= "\t{ &$_->{INDEX},
          { ".make_str($_->{NAME}).", ".make_str($_->{FILTER}).", $_->{FT_TYPE}, $_->{BASE_TYPE}, $_->{VALSSTRING}, $_->{MASK}, ".make_str_or_null($_->{BLURB}).", HFILL }},
 ";
        }
index 8c2cd47584b238f73fc67bd5ee8e10e6b1e41759..49ecc5c03585d4c55d035e4b33ae1c45cca26350 100755 (executable)
@@ -227,7 +227,7 @@ $x->{conformance} = {
 };
 
 is($x->DumpHfList(), "\tstatic hf_register_info hf[] = {
-       { &hf_bla, 
+       { &hf_bla,
          { \"Bla\", \"bla.field\", FT_UINT32, BASE_DEC, NULL, 255, \"NULL\", HFILL }},
        };
 ");