Branch: Tag:

1996-02-18

1996-02-18 01:29:26 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

fixed bug with zero sized buffers

Rev: src/dynamic_buffer.c:1.2

16:    char *ret;    if(buf->s.len+space>=buf->bufsize)    { +  if(!buf->bufsize) buf->bufsize=1; +     do{    buf->bufsize*=2;    }while(buf->s.len+space>=buf->bufsize);