aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aim-location.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-01-17 08:13:02 +0000
committerGuy Harris <guy@alum.mit.edu>2005-01-17 08:13:02 +0000
commit3778ca99c125a24b6142b09e3a72ed37328fe03f (patch)
tree716bf71eb509f2fcc2385779a945abe92d9dce02 /epan/dissectors/packet-aim-location.c
parent6d5fa899962e73edfd64f37223871a03f9124717 (diff)
downloadwireshark-3778ca99c125a24b6142b09e3a72ed37328fe03f.tar.gz
wireshark-3778ca99c125a24b6142b09e3a72ed37328fe03f.tar.bz2
wireshark-3778ca99c125a24b6142b09e3a72ed37328fe03f.zip
If a given TLV type isn't found in an aim_tlv table, just use "Unknown"
as the description - some aim_tlv tables have NULL in the end-of-table entry. For those that don't, replace "Unknown" with NULL; "Unknown" is now redundant. svn path=/trunk/; revision=13084
Diffstat (limited to 'epan/dissectors/packet-aim-location.c')
-rw-r--r--epan/dissectors/packet-aim-location.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-aim-location.c b/epan/dissectors/packet-aim-location.c
index 7bd8f60835..b7bfe42728 100644
--- a/epan/dissectors/packet-aim-location.c
+++ b/epan/dissectors/packet-aim-location.c
@@ -55,7 +55,7 @@ static const aim_tlv msg_tlv[] = {
{ FAMILY_LOCATION_USERINFO_AWAYENCODING, "Away Msg Encoding", dissect_aim_tlv_value_string },
{ FAMILY_LOCATION_USERINFO_AWAYMSG, "Away Message", dissect_aim_tlv_value_string },
{ FAMILY_LOCATION_USERINFO_CAPS, "Capabilities", dissect_aim_tlv_value_bytes },
- { 0, "Unknown", 0 }
+ { 0, NULL, 0 }
};
#define AIM_LOCATION_RIGHTS_TLV_MAX_PROFILE_LENGTH 0x0001
@@ -64,7 +64,7 @@ static const aim_tlv msg_tlv[] = {
static const aim_tlv location_rights_tlvs[] = {
{ AIM_LOCATION_RIGHTS_TLV_MAX_PROFILE_LENGTH, "Max Profile Length", dissect_aim_tlv_value_uint16 },
{ AIM_LOCATION_RIGHTS_TLV_MAX_CAPABILITIES, "Max capabilities", dissect_aim_tlv_value_uint16 },
- { 0, "Unknown", NULL }
+ { 0, NULL, NULL }
};
@@ -74,7 +74,7 @@ static const aim_tlv location_rights_tlvs[] = {
static const aim_tlv location_userinfo_tlvs[] = {
{ AIM_LOCATION_USERINFO_TLV_MIME_TYPE, "Mime Type", dissect_aim_tlv_value_string },
{ AIM_LOCATION_USERINFO_TLV_CLIENT_CAPABILITIES, "Client capabilities", dissect_aim_tlv_value_client_capabilities },
- { 0, "Unknown", NULL }
+ { 0, NULL, NULL }
};
#define FAMILY_LOCATION_USERINFO_INFOTYPE_GENERALINFO 0x0001