diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-08-18 19:31:15 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-08-18 19:31:15 +0000 |
commit | 994496a18467cfc04e6220e724d9482a48bc42bf (patch) | |
tree | 7bbe9c727c44cc6a41cf4511e4e3963289f644ab /asn1/h245 | |
parent | e5af0106ac926d26a64713a64f7a176486611189 (diff) | |
download | wireshark-994496a18467cfc04e6220e724d9482a48bc42bf.tar.gz wireshark-994496a18467cfc04e6220e724d9482a48bc42bf.tar.bz2 wireshark-994496a18467cfc04e6220e724d9482a48bc42bf.zip |
several times replacing:
sprintf -> g_snprintf
snprintf -> g_snprintf
vsnprintf -> g_vsnprintf
strdup -> g_strdup
svn path=/trunk/; revision=15412
Diffstat (limited to 'asn1/h245')
-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 5ee2de2907..8b87000ed3 100644 --- a/asn1/h245/packet-h245-template.c +++ b/asn1/h245/packet-h245-template.c @@ -377,6 +377,6 @@ static void reset_h245_packet_info(h245_packet_info *pi) pi->msg_type = H245_OTHER; pi->frame_label[0] = '\0'; - sprintf(pi->comment, "H245 "); + g_snprintf(pi->comment, sizeof(pi->comment), "H245 "); } |