Use col_set_str instead of col_add_fstr when adding constant strings to COL_INFO
[obnox/wireshark/wip.git] / epan / dissectors / packet-kdp.c
index c49fb01c32ee5738c4f57ea55b28bd70ac5e81f8..a335d7c1929b1fb8f626c1e72e626d3ba01cc401 100644 (file)
@@ -197,7 +197,7 @@ static void dissect_kdp(tvbuff_t *tvb,
      print more detailed summary info */
   if (check_col(pinfo->cinfo, COL_INFO)) {
     if (version != 2) {
-      col_add_fstr(pinfo->cinfo, COL_INFO, "SDDP message");
+      col_set_str(pinfo->cinfo, COL_INFO, "SDDP message");
     } else {
       char ack_string[BUFFER_SIZE];
       char seq_num_string[BUFFER_SIZE];