aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sdp.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-sdp.c
parent545d54ae745aa147ffa2e883dd0b982b56f86761 (diff)
- 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-sdp.c')
-rw-r--r--epan/dissectors/packet-sdp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/epan/dissectors/packet-sdp.c b/epan/dissectors/packet-sdp.c
index 665fa33c6d..abf5f7ef41 100644
--- a/epan/dissectors/packet-sdp.c
+++ b/epan/dissectors/packet-sdp.c
@@ -290,13 +290,8 @@ dissect_sdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
transport_info.media_port[n]=NULL;
transport_info.media_proto[n]=NULL;
transport_info.media[n].pt_count = 0;
-#if GLIB_MAJOR_VERSION < 2
- transport_info.media[n].rtp_dyn_payload = g_hash_table_new( g_int_hash,
- g_int_equal);
-#else
transport_info.media[n].rtp_dyn_payload = g_hash_table_new_full( g_int_hash,
g_int_equal, g_free, g_free);
-#endif
}
transport_info.media_count = 0;