convert one sprintf into g_snprintf()
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 1 Sep 2005 09:03:29 +0000 (09:03 +0000)
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 1 Sep 2005 09:03:29 +0000 (09:03 +0000)
commit7d6d703574f9f94801add37b3c04682341ff28ca
tree40523152f48c92d78b90981383f86216eba55ecd
parent4dce31695eeb191810899e825639931363bc0052
convert one sprintf into g_snprintf()

at the same time, make proto_construct_dfilter_string() return an emem allocated string.
This fixes a tiny memleak in print.c that never freed the string returned by this function.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15651 f5534014-38df-0310-8fa8-9805f1628bb7
epan/proto.c
gtk/main.c
tap-protocolinfo.c