diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-05-08 22:55:22 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-05-08 22:55:22 +0000 |
commit | 82bc394558b952ee1fe5fc02c414db730c4a3efe (patch) | |
tree | 79cf85746b7037434f35f84b9dd1fab3ea0a226e /epan/dissectors/packet-rquota.c | |
parent | 09ac9a7d4b5c19b393a8223639dc7f53dc49abe0 (diff) |
The convention is to use TFS(...) when specifying a true_false_string with an FT_BOOLEAN field;
Also: use the global true_false_string tfs_yes_no in place of a static local string.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28321 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-rquota.c')
-rw-r--r-- | epan/dissectors/packet-rquota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rquota.c b/epan/dissectors/packet-rquota.c index f9421470f3..a153ab33f9 100644 --- a/epan/dissectors/packet-rquota.c +++ b/epan/dissectors/packet-rquota.c @@ -191,7 +191,7 @@ proto_register_rquota(void) { &hf_rquota_active, { "active", "rquota.active", FT_BOOLEAN, BASE_NONE, - &tfs_active, 0, "Indicates whether quota is active", HFILL }}, + TFS(&tfs_active), 0, "Indicates whether quota is active", HFILL }}, { &hf_rquota_bhardlimit, { "bhardlimit", "rquota.bhardlimit", FT_UINT32, BASE_DEC, |