diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-02-01 23:30:18 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-02-01 23:30:18 +0000 |
commit | 9d2157c031a5887c5e11856914f8bd70374fa039 (patch) | |
tree | d81ab383eb9ef75d7fd5b9927052b3c0ecbd3ea0 /asn1 | |
parent | 6e4f24c0d90b461f59aa93f9ed83ce78362bda32 (diff) |
g_strlcpy does not exist in gtk 1.2
use strncpy instead
svn path=/trunk/; revision=13229
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/h245/packet-h245-template.c | 2 |
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; |