mfconn_create_signed_get: add more verbosity to error conditions

This commit is contained in:
josch
2014-12-19 07:57:01 +01:00
parent 862bdcff80
commit f788706680
16 changed files with 97 additions and 17 deletions

View File

@@ -90,7 +90,10 @@ mfconn_api_upload_simple(mfconn * conn, const char *folderkey,
"?response_format=json"
"&folder_key=%s", folderkey);
}
if (api_call == NULL) {
fprintf(stderr, "mfconn_create_signed_get failed\n");
return -1;
}
// make sure that we are at the beginning of the file
rewind(fh);