/* write compressed */
if (d->mccp)
{
d->outbuf = txt;
d->outtop = length;
return write_compressed(d);
}
/* write compressed */
if (d->mccp)
{
strncpy( d->outbuf, txt, length );
return write_compressed(d);
}
char temp[MAX_INPUT_LENGTH];
int nRead = read(d->descriptor, temp, MAX_INPUT_LENGTH);
d->intop += translate_telopts(d, temp, nRead, d->inbuf + d->intop);
Does anyone have a suggestion on how to deal with this other than end_compress, send MSDP, and start_compress?