diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-23 14:43:23 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-23 14:43:23 +0000 |
commit | 633bb0538096206dc250c19e319f4a5ed77c4164 (patch) | |
tree | 5cb39e5d31f625623e0be7d83ed0709fad8acd9d /epan/dissectors/packet-mgcp.c | |
parent | c52de3ee9043b7c1159d93650bb48b679d2a4a53 (diff) |
Use col_set_str instead of col_add_fstri/col_add_str when adding constant strings to COL_PROTOCOL
svn path=/trunk/; revision=30088
Diffstat (limited to 'epan/dissectors/packet-mgcp.c')
-rw-r--r-- | epan/dissectors/packet-mgcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mgcp.c b/epan/dissectors/packet-mgcp.c index f804c519bd..5ef1c26169 100644 --- a/epan/dissectors/packet-mgcp.c +++ b/epan/dissectors/packet-mgcp.c @@ -360,7 +360,7 @@ static int dissect_mgcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) * an exception. We can set them later as well.... */ if (check_col(pinfo->cinfo, COL_PROTOCOL)) - col_add_str(pinfo->cinfo, COL_PROTOCOL, "MGCP"); + col_set_str(pinfo->cinfo, COL_PROTOCOL, "MGCP"); col_clear(pinfo->cinfo, COL_INFO); /* |