HANDLE hThread = NULL;\r
BOOL thread_abort = FALSE;\r
\r
-char* PML_Download (const char* url, const char* server = "tree", const char* filename = NULL);\r
+char* PML_Download (pTree, const char* url, const char* server = "tree", const char* filename = NULL);\r
\r
\r
// Abort other thread\r
{\r
SCRIPT* script;\r
\r
- char* path = PML_Download(tree->todo[i]);\r
+ char* path = PML_Download(tree, tree->todo[i]);\r
\r
if(RPS_Load(&script, path) == ERR_OK)\r
scripts.push_back(script);\r