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

refactor: changed signature of wpf_message_create to remove jansson dependency

This commit is contained in:
Falk Werner
2020-07-10 21:17:31 +02:00
parent 32c9e45e1f
commit c066090df2
10 changed files with 50 additions and 67 deletions

View File

@@ -172,7 +172,6 @@ wfp_impl_json_writer_take_data(
wfp_impl_json_writer_reserve(writer, 1);
writer->data[writer->offset] = '\0';
char * result = writer->raw_data;
writer->raw_data = NULL;
if (NULL != size)
@@ -180,7 +179,7 @@ wfp_impl_json_writer_take_data(
*size = writer->offset;
}
return result;
return writer->data;
}
void