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:
@@ -41,6 +41,10 @@ int mfconn_api_device_get_status(mfconn * conn, uint64_t * revision)
|
||||
for (i = 0; i < mfconn_get_max_num_retries(conn); i++) {
|
||||
api_call = mfconn_create_signed_get(conn, 0, "device/get_status.php",
|
||||
"?response_format=json");
|
||||
if (api_call == NULL) {
|
||||
fprintf(stderr, "mfconn_create_signed_get failed\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
http = http_create();
|
||||
retval =
|
||||
|
||||
Reference in New Issue
Block a user