mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
mfconn_create_signed_get: add more verbosity to error conditions
This commit is contained in:
@@ -58,6 +58,10 @@ int mfconn_api_file_get_info(mfconn * conn, mffile * file,
|
||||
api_call = mfconn_create_signed_get(conn, 0, "file/get_info.php",
|
||||
"?quick_key=%s"
|
||||
"&response_format=json", quickkey);
|
||||
if (api_call == NULL) {
|
||||
fprintf(stderr, "mfconn_create_signed_get failed\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
http = http_create();
|
||||
retval = http_get_buf(http, api_call, _decode_file_get_info, file);
|
||||
|
||||
Reference in New Issue
Block a user