Fix checking of return value from snprintf()
authorByrial Jensen <byrial@vip.cybercity.dk>
Thu, 22 Dec 2011 13:30:08 +0000 (14:30 +0100)
committerByrial Jensen <byrial@vip.cybercity.dk>
Thu, 22 Dec 2011 13:30:08 +0000 (14:30 +0100)
commita7ba1da07dbc23fe0e310d51b7bdf2d2a1bc1004
treef439cedd34455fd377eb4d464017b2de9f7aca43
parent78541dc0a4c7d4bbd83c91e59d38d4f0b8ff4095
Fix checking of return value from snprintf()

snprintf() returns the needed space excluding the trailing 0 byte, so
it has truncated if the returned valued is greater than or EQUAL TO the buffersize
args.h
backend.c