mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
pidl-wireshark: fix trailing white space in the HF definition
Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
0de6282e00
commit
cd871a6b8c
@ -1192,7 +1192,7 @@ sub DumpHfList($)
|
|||||||
|
|
||||||
foreach (values %{$self->{conformance}->{header_fields}})
|
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 }},
|
{ ".make_str($_->{NAME}).", ".make_str($_->{FILTER}).", $_->{FT_TYPE}, $_->{BASE_TYPE}, $_->{VALSSTRING}, $_->{MASK}, ".make_str_or_null($_->{BLURB}).", HFILL }},
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
@ -227,7 +227,7 @@ $x->{conformance} = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
is($x->DumpHfList(), "\tstatic hf_register_info hf[] = {
|
is($x->DumpHfList(), "\tstatic hf_register_info hf[] = {
|
||||||
{ &hf_bla,
|
{ &hf_bla,
|
||||||
{ \"Bla\", \"bla.field\", FT_UINT32, BASE_DEC, NULL, 255, \"NULL\", HFILL }},
|
{ \"Bla\", \"bla.field\", FT_UINT32, BASE_DEC, NULL, 255, \"NULL\", HFILL }},
|
||||||
};
|
};
|
||||||
");
|
");
|
||||||
|
Loading…
Reference in New Issue
Block a user