mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 21:24:28 -08:00
move mfconn_update_secret_key into the apicalls
This commit is contained in:
@@ -53,7 +53,6 @@ int mfshell_cmd_list(mfshell * mfshell, int argc, char *const argv[])
|
||||
mfconn_api_folder_get_content(mfshell->conn, 0,
|
||||
folder_get_key(mfshell->folder_curr),
|
||||
&folder_result, NULL);
|
||||
mfconn_update_secret_key(mfshell->conn);
|
||||
|
||||
if (folder_result == NULL) {
|
||||
return -1;
|
||||
@@ -75,7 +74,6 @@ int mfshell_cmd_list(mfshell * mfshell, int argc, char *const argv[])
|
||||
mfconn_api_folder_get_content(mfshell->conn, 1,
|
||||
folder_get_key(mfshell->folder_curr),
|
||||
NULL, &file_result);
|
||||
mfconn_update_secret_key(mfshell->conn);
|
||||
|
||||
for (i = 0; file_result[i] != NULL; i++) {
|
||||
printf("%s %s\n", file_get_name(file_result[i]),
|
||||
|
||||
Reference in New Issue
Block a user