Wireshark-commits: [Wireshark-commits] rev 29282: /trunk/plugins/m2m/ /trunk/plugins/m2m/: packet-m

Date: Mon, 03 Aug 2009 22:09:13 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=29282

User: wmeier
Date: 2009/08/03 03:09 PM

Log:
 Various minor cleanups:
 - Do all find_dissector() calls only once during proto_reg_handoff 
    (not each time a sub-dissector is called when dissecting frames).
 - Move proto_register & proto_reg_handoff to the end of the file as per convention;
 - Move a global variables to be local;
 - Change a global variable to be static; 
 - Remove unneeded multiple #include <string.h>
 - Remove an unneeded variable and a few unneeded lines of code.

Directory: /trunk/plugins/m2m/
  Changes    Path            Action
  +248 -261  packet-m2m.c    Modified