Ethereal-cvs: [Ethereal-cvs] rev 15264: /trunk/plugins/asn1/: packet-asn1.c /trunk/plugins/cis

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Mon, 08 Aug 2005 18:50:48 GMT
User: ulfl
Date: 2005/08/08 01:50 PM

Log:
 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

Directory: /trunk/plugins/asn1/
  Changes    Path             Action
  +22 -22    packet-asn1.c    Modified

Directory: /trunk/plugins/ciscosm/
  Changes    Path           Action
  +0 -4      packet-sm.c    Modified

Directory: /trunk/epan/dfilter/
  Changes    Path          Action
  +0 -4      dfilter.c     Modified

Directory: /trunk/epan/dissectors/
  Changes    Path                    Action
  +0 -4      packet-afp.c            Modified
  +0 -4      packet-amr.c            Modified
  +0 -4      packet-aoe.c            Modified
  +1 -2      packet-ber.c            Modified
  +2 -6      packet-bgp.c            Modified
  +0 -4      packet-brdwlk.c         Modified
  +2 -11     packet-bssgp.c          Modified
  +2 -2      packet-camel.c          Modified
  +0 -4      packet-ccsds.c          Modified
  +0 -4      packet-cip.c            Modified
  +2 -2      packet-cpfi.c           Modified
  +0 -4      packet-cpha.c           Modified
  +0 -4      packet-csm-encaps.c     Modified
  +4 -8      packet-dcerpc-samr.c    Modified
  +2 -2      packet-dcerpc.c         Modified
  +5 -9      packet-dcm.c            Modified
  +1 -1      packet-dcom.c           Modified
  +4 -8      packet-diameter.c       Modified
  +2 -6      packet-dnp.c            Modified
  +3 -3      packet-dns.c            Modified
  +0 -4      packet-enip.c           Modified
  +0 -4      packet-fc.c             Modified
  +0 -4      packet-fcct.c           Modified
  +0 -4      packet-fcdns.c          Modified
  +0 -4      packet-fcels.c          Modified
  +0 -4      packet-fcfcs.c          Modified
  +0 -4      packet-fcfzs.c          Modified
  +0 -4      packet-fclctl.c         Modified
  +0 -4      packet-fcp.c            Modified
  +0 -4      packet-fcsb3.c          Modified
  +0 -4      packet-fcsp.c           Modified
  +0 -4      packet-fcswils.c        Modified
  +0 -4      packet-g723.c           Modified
  +0 -4      packet-gprs-llc.c       Modified
  +0 -4      packet-hyperscsi.c      Modified
  +1 -1      packet-ieee80211.c      Modified
  +1 -5      packet-igmp.c           Modified
  +0 -4      packet-image-gif.c      Modified
  +0 -4      packet-image-jfif.c     Modified
  +0 -4      packet-ipdc.c           Modified
  +1 -1      packet-ipv6.c           Modified
  +0 -4      packet-ipvs-syncd.c     Modified
  +0 -4      packet-ismp.c           Modified
  +0 -4      packet-isns.c           Modified
  +2 -2      packet-isup.c           Modified
  +0 -4      packet-isup_thin.c      Modified
  +4 -4      packet-jxta.c           Modified
  +1 -1      packet-kerberos.c       Modified
  +0 -4      packet-laplink.c        Modified
  +1 -5      packet-ldap.c           Modified
  +0 -4      packet-lwapp.c          Modified
  +0 -4      packet-mdshdr.c         Modified
  +0 -4      packet-msrp.c           Modified
  +0 -4      packet-mtp3.c           Modified
  +1 -5      packet-mtp3mg.c         Modified
  +0 -4      packet-multipart.c      Modified
  +2 -6      packet-ntp.c            Modified
  +2 -2      packet-pflog.c          Modified
  +9 -9      packet-pim.c            Modified
  +2 -2      packet-pn-rt.c          Modified
  +0 -4      packet-ptp.c            Modified
  +8 -12     packet-rsvp.c           Modified
  +0 -4      packet-rtps.c           Modified
  +1 -5      packet-sccp.c           Modified
  +1 -5      packet-sccpmg.c         Modified
  +0 -4      packet-sebek.c          Modified
  +0 -4      packet-sflow.c          Modified
  +0 -4      packet-sigcomp.c        Modified
  +0 -4      packet-sndcp.c          Modified
  +0 -4      packet-stun.c           Modified
  +0 -4      packet-uma.c            Modified
  +2 -6      packet-wccp.c           Modified
  +0 -4      packet-wsp.c            Modified
  +4 -8      packet-wtls.c           Modified
  +0 -4      packet-wtp.c            Modified

Directory: /trunk/plugins/docsis/
  Changes    Path               Action
  +0 -4      packet-vendor.c    Modified

Directory: /trunk/epan/
  Changes    Path                    Action
  +6 -8      addr_resolv.c           Modified
  +1 -5      asn1.c                  Modified
  +3 -3      atalk-utils.c           Modified
  +1 -1      atalk-utils.h           Modified
  +34 -38    column-utils.c          Modified
  +11 -30    filesystem.c            Modified
  +3 -4      follow.c                Modified
  +4 -6      inet_ntop.c             Modified
  +1 -5      ipproto.c               Modified
  +2 -6      plugins.c               Modified
  +1 -2      proto.c                 Modified
  +0 -4      sigcomp-udvm.c          Modified
  +0 -4      sigcomp_state_hdlr.c    Modified
  +14 -18    to_str.c                Modified
  +1 -1      to_str.h                Modified
  +1 -4      value_string.c          Modified

Directory: /trunk/plugins/irda/
  Changes    Path               Action
  +0 -3      packet-ircomm.c    Modified
  +2 -6      packet-irda.c      Modified

Directory: /trunk/plugins/opsi/
  Changes    Path             Action
  +0 -4      packet-opsi.c    Modified

Directory: /trunk/plugins/rlm/
  Changes    Path            Action
  +0 -4      packet-rlm.c    Modified

Directory: /trunk/
  Changes    Path                 Action
  +19 -33    capture_sync.c       Modified
  +1 -2      disabled_protos.c    Modified


(8 files not shown)

http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=15264&view=rev