Ethereal-dev: Re: [Ethereal-dev] Initial DLSw dissector

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

From: Paul Ionescu <paul@xxxxxxxx>
Date: Fri, 28 Dec 2001 19:56:44 +0200
Guy Harris wrote:
> 
> On the other hand, the termination will cost at most 16 bytes, as far as
> I know, on any of the platforms on which Ethereal runs (8 bytes for a
> pointer, and either 4 bytes + 4 bytes of padding or 8 bytes for a
> numerical value, on a 64-bit platform if Ethereal is built as a 64-bit
> application), so I think the cost of giving all "value_string" arrays a
> terminator doesn't seem to me to be high enough so that you should avoid
> them in those cases where you don't need them.

Ok, you had me convinced.
Next time I will do this way.

Cheers,
Paul