commit 6b60e4c6ccf0093791ef82da1d389bc0677bdafb
parent fcc55453c7f6db042c9b63f981154090ee1cf45a
Author: Joris Vink <joris@coders.se>
Date: Mon, 24 Jul 2017 08:19:57 +0200
set nb to 0
Diffstat:
src/utils.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/utils.c b/src/utils.c
@@ -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);