mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 21:24:28 -08:00
check and return mediafire response code for every api call
This commit is contained in:
@@ -45,7 +45,8 @@ int mfconn_api_folder_delete(mfconn * conn, const char *folderkey)
|
||||
folderkey);
|
||||
|
||||
http = http_create();
|
||||
retval = http_get_buf(http, api_call, NULL, NULL);
|
||||
retval = http_get_buf(http, api_call, mfapi_decode_common,
|
||||
"folder/delete");
|
||||
http_destroy(http);
|
||||
|
||||
free((void *)api_call);
|
||||
|
||||
Reference in New Issue
Block a user