diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-09-22 03:10:30 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-09-22 03:10:30 +0000 |
commit | fd2f8183537eb146960d864bf6b890b2dbc01a10 (patch) | |
tree | 65569699040f312fa6b9083fa6336dfc9c23faea /epan/dissectors/packet-aim-userlookup.c | |
parent | ad1efb6b9c4c2c50289d7264d6ae79afcb1ae7b4 (diff) | |
download | wireshark-fd2f8183537eb146960d864bf6b890b2dbc01a10.tar.gz |
Use ENC_ values in proto_tree_add_item() calls.
In the AgentX dissector, make the "flags" arguments guint8, to match
what's passed in.
In the AIM dissector, use val_to_str() in col_add_str() calls - it gives
the same result if there's a match, and puts a note in the Info column
if there isn't, and is less complicated.
In the AJP13 dissector:
update the URL for the protocol documentation;
add #defines for message types, and use them;
for "enumerated data type" fields, make the fields numerical
rather than strings and give them the value_string tables;
get rid of col_check() calls;
make a Boolean item an FT_BOOLEAN.
svn path=/trunk/; revision=39085
Diffstat (limited to 'epan/dissectors/packet-aim-userlookup.c')
-rw-r--r-- | epan/dissectors/packet-aim-userlookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-aim-userlookup.c b/epan/dissectors/packet-aim-userlookup.c index 0466b3b1d5..fa6850d571 100644 --- a/epan/dissectors/packet-aim-userlookup.c +++ b/epan/dissectors/packet-aim-userlookup.c @@ -48,7 +48,7 @@ static gint ett_aim_userlookup = -1; static int dissect_aim_userlookup_search(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *lookup_tree) { - proto_tree_add_item(lookup_tree, hf_aim_userlookup_email, tvb, 0, tvb_length(tvb), FALSE); + proto_tree_add_item(lookup_tree, hf_aim_userlookup_email, tvb, 0, tvb_length(tvb), ENC_ASCII|ENC_BIG_ENDIAN); return tvb_length(tvb); } |