aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dtls.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-06-25 03:05:19 +0000
committerGuy Harris <guy@alum.mit.edu>2008-06-25 03:05:19 +0000
commit9e6329860a870298350c79012f2c8e2b75362427 (patch)
tree0fa21e62dd8eedd1a5f0ed5aa1249c11a724b1f3 /epan/dissectors/packet-dtls.c
parent495ddc2830cb3f490e53519ca3074d1aa52c2600 (diff)
Fix some warnings - declare some arguments, variables, and structure
members to be const pointers when that's possible, and throw in some casts when the GLib API fails to have properly consted arguments. Use ep_strdup_printf() in some cases. svn path=/trunk/; revision=25596
Diffstat (limited to 'epan/dissectors/packet-dtls.c')
-rw-r--r--epan/dissectors/packet-dtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dtls.c b/epan/dissectors/packet-dtls.c
index 951d5d2ca7..49408eb458 100644
--- a/epan/dissectors/packet-dtls.c
+++ b/epan/dissectors/packet-dtls.c
@@ -980,7 +980,7 @@ dissect_dtls_handshake(tvbuff_t *tvb, packet_info *pinfo,
{
fragment_data *frag_msg = NULL;
tvbuff_t *new_tvb = NULL;
- gchar *frag_str = NULL;
+ const gchar *frag_str = NULL;
gboolean fragmented;
msg_type = tvb_get_guint8(tvb, offset);