various code cleanup:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 8 Aug 2005 18:50:39 +0000 (18:50 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 8 Aug 2005 18:50:39 +0000 (18:50 +0000)
commitd615067ecfe859cadfb09c0896864a4bff299d4f
treeae44175ca8fd23548fcec5833098b535af5e372c
parentb5ff280c656047376ee397671794e3b15e7ac3ae
various code cleanup:
-use g_snprintf instead of sprintf and snprintf
-use g_strdup_printf where appropriate
-remove #include "snprintf.h" (as only g_snprintf should be used)
-replace some more alloc/realloc/calloc/free with their glib pendants

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15264 f5534014-38df-0310-8fa8-9805f1628bb7
109 files changed:
capture_sync.c
disabled_protos.c
epan/addr_resolv.c
epan/asn1.c
epan/atalk-utils.c
epan/atalk-utils.h
epan/column-utils.c
epan/dfilter/dfilter.c
epan/dissectors/packet-afp.c
epan/dissectors/packet-amr.c
epan/dissectors/packet-aoe.c
epan/dissectors/packet-ber.c
epan/dissectors/packet-bgp.c
epan/dissectors/packet-brdwlk.c
epan/dissectors/packet-bssgp.c
epan/dissectors/packet-camel.c
epan/dissectors/packet-ccsds.c
epan/dissectors/packet-cip.c
epan/dissectors/packet-cpfi.c
epan/dissectors/packet-cpha.c
epan/dissectors/packet-csm-encaps.c
epan/dissectors/packet-dcerpc-samr.c
epan/dissectors/packet-dcerpc.c
epan/dissectors/packet-dcm.c
epan/dissectors/packet-dcom.c
epan/dissectors/packet-diameter.c
epan/dissectors/packet-dnp.c
epan/dissectors/packet-dns.c
epan/dissectors/packet-enip.c
epan/dissectors/packet-fc.c
epan/dissectors/packet-fcct.c
epan/dissectors/packet-fcdns.c
epan/dissectors/packet-fcels.c
epan/dissectors/packet-fcfcs.c
epan/dissectors/packet-fcfzs.c
epan/dissectors/packet-fclctl.c
epan/dissectors/packet-fcp.c
epan/dissectors/packet-fcsb3.c
epan/dissectors/packet-fcsp.c
epan/dissectors/packet-fcswils.c
epan/dissectors/packet-g723.c
epan/dissectors/packet-gprs-llc.c
epan/dissectors/packet-hyperscsi.c
epan/dissectors/packet-ieee80211.c
epan/dissectors/packet-igmp.c
epan/dissectors/packet-image-gif.c
epan/dissectors/packet-image-jfif.c
epan/dissectors/packet-ipdc.c
epan/dissectors/packet-ipv6.c
epan/dissectors/packet-ipvs-syncd.c
epan/dissectors/packet-ismp.c
epan/dissectors/packet-isns.c
epan/dissectors/packet-isup.c
epan/dissectors/packet-isup_thin.c
epan/dissectors/packet-jxta.c
epan/dissectors/packet-kerberos.c
epan/dissectors/packet-laplink.c
epan/dissectors/packet-ldap.c
epan/dissectors/packet-lwapp.c
epan/dissectors/packet-mdshdr.c
epan/dissectors/packet-msrp.c
epan/dissectors/packet-mtp3.c
epan/dissectors/packet-mtp3mg.c
epan/dissectors/packet-multipart.c
epan/dissectors/packet-ntp.c
epan/dissectors/packet-pflog.c
epan/dissectors/packet-pim.c
epan/dissectors/packet-pn-rt.c
epan/dissectors/packet-ptp.c
epan/dissectors/packet-rsvp.c
epan/dissectors/packet-rtps.c
epan/dissectors/packet-sccp.c
epan/dissectors/packet-sccpmg.c
epan/dissectors/packet-sebek.c
epan/dissectors/packet-sflow.c
epan/dissectors/packet-sigcomp.c
epan/dissectors/packet-sndcp.c
epan/dissectors/packet-stun.c
epan/dissectors/packet-uma.c
epan/dissectors/packet-wccp.c
epan/dissectors/packet-wsp.c
epan/dissectors/packet-wtls.c
epan/dissectors/packet-wtp.c
epan/filesystem.c
epan/follow.c
epan/inet_ntop.c
epan/ipproto.c
epan/plugins.c
epan/proto.c
epan/sigcomp-udvm.c
epan/sigcomp_state_hdlr.c
epan/to_str.c
epan/to_str.h
epan/value_string.c
filters.c
pcap-util-unix.c
plugins/asn1/packet-asn1.c
plugins/ciscosm/packet-sm.c
plugins/docsis/packet-vendor.c
plugins/irda/packet-ircomm.c
plugins/irda/packet-irda.c
plugins/opsi/packet-opsi.c
plugins/rlm/packet-rlm.c
plugins/v5ua/packet-v5ua.c
ringbuffer.c
tap-iousers.c
tap-rpcprogs.c
tethereal.c
util.c