check and return mediafire response code for every api call

This commit is contained in:
josch
2014-12-05 11:37:51 +01:00
parent 816d79438f
commit 1007caec7a
18 changed files with 324 additions and 32 deletions

View File

@@ -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);