* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: odr.c,v 1.4 2004-08-13 08:58:59 adam Exp $
+ * $Id: odr.c,v 1.6 2004-10-01 13:16:18 adam Exp $
*
*/
#if HAVE_CONFIG_H
fputs(" ..... ", (FILE*) handle);
i = len - 1000;
}
- if (strchr("\r\n\f\t", c) || c >= ' ' && c <= 126)
+ if (strchr("\r\n\f\t", c) || (c >= ' ' && c <= 126))
putc(c, (FILE*) handle);
else
{
void odr_setbuf(ODR o, char *buf, int len, int can_grow)
{
+ odr_seterror(o, ONONE, 0);
o->bp = (unsigned char *) buf;
o->buf = (unsigned char *) buf;