mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 21:24:28 -08:00
remove json_object_by_path
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "../../utils/http.h"
|
||||
#include "../../utils/json.h"
|
||||
#include "../mfconn.h"
|
||||
#include "../file.h"
|
||||
#include "../apicalls.h" // IWYU pragma: keep
|
||||
@@ -92,7 +91,7 @@ static int _decode_file_get_links(mfhttp * conn, void *data)
|
||||
return -1;
|
||||
}
|
||||
|
||||
node = json_object_by_path(root, "response");
|
||||
node = json_object_get(root, "response");
|
||||
|
||||
retval = mfapi_check_response(node, "file/get_links");
|
||||
if (retval != 0) {
|
||||
|
||||
Reference in New Issue
Block a user