aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h245/packet-h245-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/h245/packet-h245-template.c')
-rw-r--r--asn1/h245/packet-h245-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/h245/packet-h245-template.c b/asn1/h245/packet-h245-template.c
index f9cafb8481..05af9cafb6 100644
--- a/asn1/h245/packet-h245-template.c
+++ b/asn1/h245/packet-h245-template.c
@@ -279,7 +279,7 @@ dissect_h245_OpenLogicalChannelCodec(tvbuff_t *tvb, int offset, packet_info *pin
if (h245_pi != NULL) h245_pi->msg_type = H245_OpenLogChn;
if (codec_str){
- g_strlcpy(codec_str, codec_type, 50);
+ strncpy(codec_str, codec_type, 50);
}
return offset;