1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2026-03-02 04:09:18 +00:00

refactor: use impl prefix for base63 functions

This commit is contained in:
Falk Werner
2020-06-17 16:54:09 +02:00
parent f9079b4c9b
commit 4abacef616
4 changed files with 44 additions and 44 deletions

View File

@@ -54,9 +54,9 @@ void wfp_impl_respond_read(
{
if (0 < length)
{
size_t const size = wfp_base64_encoded_size(length) + 1;
size_t const size = wfp_impl_base64_encoded_size(length) + 1;
char * buffer = malloc(size);
wfp_base64_encode((uint8_t const *) data, length, buffer, size);
wfp_impl_base64_encode((uint8_t const *) data, length, buffer, size);
json_t * result = json_object();
json_object_set_new(result, "data", json_string(buffer));