Fix wrbuf_putc + wrbuf_cstr assert YAZ-760
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 18 Apr 2014 17:40:51 +0000 (19:40 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 18 Apr 2014 17:42:06 +0000 (19:42 +0200)
Change the meaning of WRBUF size. Just allocate size + 1 instead
of size. This means we can safely store \0 in pos. Simplify xrealloc
use in wrbuf_grow.


No differences found