Fix off-by-one bug in gbuf_addf()
commite5753b6d11a5d5239654679f3e07125b71fd1560
authorTimo Hirvonen <tihirvon@gmail.com>
Mon, 12 May 2008 18:01:16 +0000 (12 21:01 +0300)
committerTimo Hirvonen <tihirvon@gmail.com>
Mon, 12 May 2008 18:01:16 +0000 (12 21:01 +0300)
tree20fedcd73303dd3582674bc9fe340feb39ed0dba
parentefb30a734e08f5d0c2d05462aecb95669ed2593c
Fix off-by-one bug in gbuf_addf()

The size parameter for vsnprintf() includes the trailing '\0' byte.
gbuf.c