mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 21:24:28 -08:00
mfconn_create_signed_get: add more verbosity to error conditions
This commit is contained in:
@@ -61,6 +61,10 @@ int mfconn_api_device_get_patch(mfconn * conn, mfpatch * patch,
|
||||
"&target_revision=%" PRIu64
|
||||
"&response_format=json", quickkey,
|
||||
source_revision, target_revision);
|
||||
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_device_get_patch,
|
||||
|
||||
Reference in New Issue
Block a user