Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal ncp2222.py

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

From: Gilbert Ramirez Jr. <gram@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 11 Jan 2002 08:33:05 -0600 (CST)
gram        2002/01/11 08:33:04 CST

  Modified files:
    .                    ncp2222.py 
  Log:
  From Guy Harris, after checking his Python code.
  
  Some compilers don't mind zero-length arrays, but MSVC++ 6.0 does.
  
  "ncp2222.py" was generating a zero-length "ett[]" array.  Make it generate
  the "ett[]" array and the call to "proto_register_subtree_array()"
  only if the list of items for "ett[]" is non-empty CVS:
  
  Revision  Changes    Path
  1.13      +16 -8     ethereal/ncp2222.py