From 87029e570764449333626292826521ce3a676f55 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 28 Nov 2021 20:37:08 +0200 Subject: [PATCH] encoding.base64: vfmt base64.c.v --- vlib/encoding/base64/base64.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/encoding/base64/base64.c.v b/vlib/encoding/base64/base64.c.v index 72055843d0..02053cda3e 100644 --- a/vlib/encoding/base64/base64.c.v +++ b/vlib/encoding/base64/base64.c.v @@ -233,7 +233,7 @@ pub fn encode_str(data string) string { fn alloc_and_encode(src &byte, len int) string { if len == 0 { return '' - } + } size := 4 * ((len + 2) / 3) if size <= 0 { return ''