Use col_set_str instead of col_add_fstr when adding constant strings to COL_INFO
[obnox/wireshark/wip.git] / plugins / docsis / packet-sync.c
index ec6a8e0c491a4b52c1aced4d8e8c58f98985851b..48eeaf7399f5b846eb4616b99893719d268eada2 100644 (file)
@@ -48,8 +48,7 @@ dissect_sync (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
        if (check_col (pinfo->cinfo, COL_INFO))
        {
        col_clear (pinfo->cinfo, COL_INFO);
-       col_add_fstr (pinfo->cinfo, COL_INFO,
-                       "Sync Message:");
+       col_set_str(pinfo->cinfo, COL_INFO, "Sync Message:");
        }
 
        if (tree)