Comment # 11
on bug 9367
from Bill Meier
P.S.
Once I started doing the above (extern'ing just the extended-value-strings and
not the underlying value-strings) I found a few cases where the extended value
strings were not being used.
packet-mq.c
-----------
- { &hf_mq_inq_sel ,{"Selector........", "mq.inq.sel",
FT_UINT32, BASE_DEC, VALS(GET_VALSV(selector)), 0x0, "INQ Selector", HFILL
}},
+ { &hf_mq_inq_sel ,{"Selector........", "mq.inq.sel",
FT_UINT32, BASE_DEC | BASE_EXT_STRING, &GET_VALSVX(selector), 0x0, "INQ Sel
packet-mq-pcf.c
---------------
(just one of several)
- uCmd,val_to_str_const(uCmd,GET_VALSV(mqcmd),"Unknown"),
+ uCmd,val_to_str_ext_const(uCmd,&GET_VALSVX(mqcmd),"Unknown"),
==============
I won't make any more changes and will await your next patch. :)
Bill
You are receiving this mail because:
- You are watching all bug changes.