1
0
forked from 0ad/0ad

bugfix: base32 now 0-terminates output string

This was SVN commit r3982.
This commit is contained in:
janwas 2006-06-08 21:47:06 +00:00
parent d0acaecc5c
commit 05b3867104

View File

@ -354,6 +354,8 @@ void base32(const size_t len, const u8* in, u8* out)
uint c = (pool >> bits) & 31;
*out++ = tbl[c];
}
*out++ = '\0';
}