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

added test for open (adapter)

This commit is contained in:
Falk Werner
2020-04-03 22:46:47 +02:00
parent 48e3575d6d
commit d56bbcbd39
5 changed files with 81 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ static void wf_impl_operation_open_finished(
if (NULL != result)
{
json_t * handle_holder = json_object_get(result, "handle");
if ((NULL != handle_holder) && (json_is_integer(handle_holder)))
if (json_is_integer(handle_holder))
{
file_info.fh = json_integer_value(handle_holder);
}