diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-01-15 13:51:47 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-01-15 13:51:47 +0000 |
commit | 9d918146ffe34c8ec35c66cc4cc94ce9575a3f31 (patch) | |
tree | 9fe1303f5da5c8d1b217e88edb4ef0ac8cec5932 /epan/dissectors/packet-ltp.c | |
parent | 825589311426f68450b832d06efec71d3cf0b149 (diff) | |
download | wireshark-9d918146ffe34c8ec35c66cc4cc94ce9575a3f31.tar.gz |
Changed val_to_str() to val_to_str_const() when used with col_set_str().
svn path=/trunk/; revision=31535
Diffstat (limited to 'epan/dissectors/packet-ltp.c')
-rw-r--r-- | epan/dissectors/packet-ltp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ltp.c b/epan/dissectors/packet-ltp.c index 94a174cd14..41631a4be2 100644 --- a/epan/dissectors/packet-ltp.c +++ b/epan/dissectors/packet-ltp.c @@ -672,7 +672,7 @@ dissect_ltp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } } frame_offset += segment_offset; - col_set_str(pinfo->cinfo, COL_INFO, val_to_str(ltp_type,ltp_type_col_info,"Protocol Error")); + col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(ltp_type,ltp_type_col_info,"Protocol Error")); /* Check to see if there are any trailer extensions */ if(trl_extn_cnt > 0){ if((unsigned)frame_offset >= tvb_length(tvb)){ |