mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
remove "myfiles" as a moniker for the root. Use NULL or empty string instead
This commit is contained in:
@@ -51,18 +51,17 @@ mfconn_api_folder_get_content(mfconn * conn, int mode, mffolder * folder_curr)
|
||||
|
||||
folderkey = folder_get_key(folder_curr);
|
||||
if (folderkey == NULL) {
|
||||
fprintf(stderr, "folder_get_key NULL\n");
|
||||
return 0;
|
||||
}
|
||||
/*if (folderkey[0] == '\0') {
|
||||
fprintf(stderr, "folder_get_key '\\0'\n");
|
||||
return 0;
|
||||
} */
|
||||
api_call = mfconn_create_signed_get(conn, 0, "folder/get_content.php",
|
||||
api_call = mfconn_create_signed_get(conn, 0, "folder/get_content.php",
|
||||
"?content_type=%s"
|
||||
"&response_format=json",
|
||||
content_type);
|
||||
} else {
|
||||
api_call = mfconn_create_signed_get(conn, 0, "folder/get_content.php",
|
||||
"?folder_key=%s"
|
||||
"&content_type=%s"
|
||||
"&response_format=json",
|
||||
folderkey, content_type);
|
||||
}
|
||||
|
||||
http = http_create();
|
||||
if (mode == 0)
|
||||
|
||||
Reference in New Issue
Block a user