set nb to 0

This commit is contained in:
Joris Vink 2017-07-24 08:19:57 +02:00
parent fcc55453c7
commit 6b60e4c6cc
1 changed files with 1 additions and 0 deletions

View File

@ -385,6 +385,7 @@ kore_base64_encode(const void *data, size_t len, char **out)
u_int32_t bytes;
struct kore_buf result;
nb = 0;
ptr = data;
kore_buf_init(&result, (len / 3) * 4);