summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostyantyn Ovechko <fastinetserver@gmail.com>2010-08-03 04:28:09 +0300
committerKostyantyn Ovechko <fastinetserver@gmail.com>2010-08-03 04:28:09 +0300
commit394e79b27aeae9de83c378b391e5e3cf59ec9759 (patch)
tree0dc1663a05931ea5a717eb99e977198eb746feb2 /segget/segment.h
parentAdd distfiles window to tuiclient. (diff)
downloadidfetch-394e79b27aeae9de83c378b391e5e3cf59ec9759.tar.gz
idfetch-394e79b27aeae9de83c378b391e5e3cf59ec9759.tar.bz2
idfetch-394e79b27aeae9de83c378b391e5e3cf59ec9759.zip
Provide more info on distfiles to tuiclients.
Provide info on distfiles that are already in the list or just added, but not in progress (not started yet or already downloaded) to ui_server/tui_clients.
Diffstat (limited to 'segget/segment.h')
-rw-r--r--segget/segment.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/segget/segment.h b/segget/segment.h
index bdb6dcc..b63e8e6 100644
--- a/segget/segment.h
+++ b/segget/segment.h
@@ -44,7 +44,8 @@ class Tdistfile;
#include "stats.h"
-extern Tsettings settings;
+#define MAX_CONNECTS 20
+//extern Tsettings settings;
//unsigned long downloaded_bytes=0;
size_t write_data(void *buffer, size_t size, size_t nmemb, void *cur_segment);