W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

HTStreamToChunk max_size of 0 instead of HT_MAXSIZE?

From: Steinar Bang <sb@metis.no>
Date: 17 Aug 1999 14:30:31 +0200
To: www-lib@w3.org
Message-ID: <wh672er3mg.fsf@viffer.oslo.metis.no>
In version 2.7 of HTSChunk.c:
...
PUBLIC HTStream * HTStreamToChunk (HTRequest * 	request,
				   HTChunk **	chunk,
				   int 		max_size)
{
        ...
	me->max_size = (!max_size) ? max_size : HT_MAXSIZE;
        ...

If the max_size parameter is 0, then me->max_size becomes 0, otherwise 
it becomes HT_MAXSIZE.

That doesn't seem very meaningful, so I'm wondering if the logical
negation should be removed...?
Received on Tuesday, 17 August 1999 08:30:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:17 UTC