From: Adam Dickmeiss Date: Fri, 18 Apr 2014 17:40:51 +0000 (+0200) Subject: Fix wrbuf_putc + wrbuf_cstr assert YAZ-760 X-Git-Tag: v5.1.1~5 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=365cdf77999caa4f9edb02cc954b1075d57f299e;hp=365cdf77999caa4f9edb02cc954b1075d57f299e Fix wrbuf_putc + wrbuf_cstr assert YAZ-760 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. ---