From f4750dc7ca9ce56c54352c03bb40affe1a64c315 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 15 Sep 2015 12:49:00 +0300 Subject: client-qt: implemented handler for SERVER_DOWNLOAD_INFO_REPLY server: api: removed core_id field from download_internal_s as it always used for index in download map some useful coments core: improoved signal handler a bit fiexd bug in core_api metadata related functions (metadata_set, metadata_get, metadata_remove), now thay returning correct data basic implementation of CLIENT_DOWNLOAD_ADD handler basic implementation of module unloading curl_downloader_module: implemented metadata storing some sanity checks curl_download structure refactored a bit (simplification) --- server/src/modules_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/modules_handler.cpp') diff --git a/server/src/modules_handler.cpp b/server/src/modules_handler.cpp index eb08261..90328b1 100644 --- a/server/src/modules_handler.cpp +++ b/server/src/modules_handler.cpp @@ -125,6 +125,7 @@ std::string modules_handler::list_modules_single_type_internal(const std::listget_module_info().name; buf += "\n\tDescription: " + i->get_module_info().description; @@ -199,7 +200,6 @@ void modules_handler::sync_downloads(std::map &downloa for(auto it : d->get_downloads()) { downloads[id].module_name = d->get_module_info().name; - downloads[id].core_id = id; //is it needed ? downloads[id].module_id = it.id; id++; } -- cgit v1.2.3