diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2008-04-07 05:22:54 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2008-04-07 05:22:54 +0000 |
commit | 726a1caaf1c717a5784beb2fb5a05900552563f0 (patch) | |
tree | 3f861f04f60e8872bcf7f82f56de654af93a7590 /epan/dissectors/packet-jxta.c | |
parent | 545d54ae745aa147ffa2e883dd0b982b56f86761 (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-jxta.c')
-rw-r--r-- | epan/dissectors/packet-jxta.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/epan/dissectors/packet-jxta.c b/epan/dissectors/packet-jxta.c index b25fd3dcfe..a3bc5d4257 100644 --- a/epan/dissectors/packet-jxta.c +++ b/epan/dissectors/packet-jxta.c @@ -49,7 +49,6 @@ #include <epan/prefs.h> #include <epan/tap.h> #include <epan/emem.h> -#include <epan/ws_strsplit.h> #include "packet-jxta.h" @@ -2263,15 +2262,11 @@ static int dissect_media( const gchar* fullmediatype, tvbuff_t * tvb, packet_inf pinfo->match_string = ep_strdup(mediatype); /* force to lower case */ -#if GLIB_MAJOR_VERSION < 2 - g_strdown(mediatype); -#else { gchar *mediatype_lowercase = g_ascii_strdown(mediatype, -1); mediatype = ep_strdup(mediatype_lowercase); g_free(mediatype_lowercase); } -#endif if (0 == strcmp("application/x-jxta-tls-block", mediatype)) { /* If we recognize it as a TLS packet then we shuffle it off to ssl dissector. */ |