Use tvb_get_string_enc() rather than tvb_get_string().

Update URL of spec.

svn path=/trunk/; revision=54924
This commit is contained in:
Guy Harris 2014-01-23 02:30:00 +00:00
parent 138987aea0
commit 8944519bf4
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
/*
* See
*
* http://www.artisticlicence.com/art-net.pdf
* http://www.artisticlicence.com/WebSiteMaster/User%20Guides/art-net.pdf
*/
void proto_register_artnet(void);
@ -2456,7 +2456,7 @@ dissect_artnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
}
col_append_fstr(pinfo->cinfo, COL_INFO, "%s",
tvb_get_string(wmem_packet_scope(), tvb, offset, 8));
tvb_get_string_enc(wmem_packet_scope(), tvb, offset, 8, ENC_ASCII|ENC_NA));
if (tree) {
proto_tree_add_item(artnet_header_tree, hf_artnet_header_id,
tvb, offset, 8, ENC_ASCII|ENC_NA);