Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-slsk.c

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Thu, 12 Feb 2004 14:58:01 -0600 (CST)
guy         2004/02/12 14:58:01 CST

  Modified files:
    .                    packet-slsk.c 
  Log:
  From Kendy Kutzner: don't use variable-length arrays, not all C
  compilers support them.
  
  Also, use "tvb_memdup()" to make a copy of the compressed data - it's
  faster, and also checks to make sure the data is actually there (it
  throws an exception before allocating anything).
  
  Revision  Changes    Path
  1.2       +19 -7     ethereal/packet-slsk.c