ch->data = ch->data ? (char *)realloc(ch->data, ch->allocated) : (char *)calloc(1, ch->allocated); if (!ch->data) outofmem(__FILE__, "HTChunkPutc");
data = ch->data ? (char *)realloc(ch->data, ch->allocated) : typecallocn(char, ch->allocated); if (data) { ch->data = data; } else if (ch->failok) { HTChunkClear(ch);	 return;		 } else { outofmem(__FILE__, "HTChunkPutc"); }
PUBLIC void HTChunkPutc ARGS2 (HTChunk *,ch, char,c){    if (ch->size >= ch->allocated) {	ch->allocated = ch->allocated + ch->growby;        ch->data = ch->data ? (char *)realloc(ch->data, ch->allocated)			    : (char *)calloc(1, ch->allocated);      if (!ch->data)          outofmem(__FILE__, "HTChunkPutc");    }    ch->data[ch->size++] = c;}