aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtsp.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2008-04-07 05:22:54 +0000
committerStephen Fisher <steve@stephen-fisher.com>2008-04-07 05:22:54 +0000
commit726a1caaf1c717a5784beb2fb5a05900552563f0 (patch)
tree3f861f04f60e8872bcf7f82f56de654af93a7590 /epan/dissectors/packet-rtsp.c
parent545d54ae745aa147ffa2e883dd0b982b56f86761 (diff)
downloadwireshark-726a1caaf1c717a5784beb2fb5a05900552563f0.tar.gz
wireshark-726a1caaf1c717a5784beb2fb5a05900552563f0.tar.bz2
wireshark-726a1caaf1c717a5784beb2fb5a05900552563f0.zip
- Remove GLIB1 code
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION - Remove ws_strsplit files because we no longer need to borrow GLIB2's g_strsplit code for the no longer supported GLIB1 builds svn path=/trunk/; revision=24829
Diffstat (limited to 'epan/dissectors/packet-rtsp.c')
-rw-r--r--epan/dissectors/packet-rtsp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/epan/dissectors/packet-rtsp.c b/epan/dissectors/packet-rtsp.c
index 2eb2532025..0dae2c300f 100644
--- a/epan/dissectors/packet-rtsp.c
+++ b/epan/dissectors/packet-rtsp.c
@@ -900,12 +900,8 @@ dissect_rtspmessage(tvbuff_t *tvb, int offset, packet_info *pinfo,
media_type_str = tvb_get_ephemeral_string(tvb, offset,
value_len);
-#if GLIB_MAJOR_VERSION < 2
- media_type_str_lower_case = ep_strdup(media_type_str);
- g_strdown(media_type_str_lower_case);
-#else
+
media_type_str_lower_case = g_ascii_strdown(media_type_str, -1);
-#endif
} else if (HDR_MATCHES(rtsp_content_length))
{