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:
@@ -58,7 +58,8 @@ int mfconn_api_folder_create(mfconn * conn, const char *parent,
|
||||
}
|
||||
|
||||
http = http_create();
|
||||
retval = http_get_buf(http, api_call, NULL, NULL);
|
||||
retval = http_get_buf(http, api_call, mfapi_decode_common,
|
||||
"folder/create");
|
||||
http_destroy(http);
|
||||
|
||||
free((void *)api_call);
|
||||
|
||||
Reference in New Issue
Block a user