emile: length is known, no need for strlen

This commit is contained in:
Boris Faure 2023-08-20 14:42:35 +02:00 committed by Carsten Haitzler (Rasterman)
parent d9ec36e1de
commit d280b4b2dd
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ emile_base64_encode_common(const Eina_Binbuf *in, Eina_Bool is_base64url_encode)
dest[k] = '\0';
return eina_strbuf_manage_new(dest);
return eina_strbuf_manage_new_length(dest, k);
}
static Eina_Binbuf *