1
0
mirror of https://github.com/asamy/ctorrent synced 2025-10-05 23:52:41 +02:00

Some feedback and fix compile error

Signed-off-by: Ahmed Samy <asamy@protonmail.com>
This commit is contained in:
Ahmed Samy
2016-12-31 13:11:03 +02:00
parent 386f916d5d
commit af0d03c20e
3 changed files with 2 additions and 3 deletions

View File

@@ -22,9 +22,7 @@
#include "torrent.h"
#include <net/connection.h>
#include <util/auxiliar.h>
#include <util/scheduler.h>
#include <algorithm>
#include <iostream>

View File

@@ -23,7 +23,6 @@
#include "torrent.h"
#include <util/auxiliar.h>
//#include <util/scheduler.h>
#include <thread>
#include <future>

View File

@@ -256,6 +256,7 @@ int main(int argc, char *argv[])
}
}
std::clog << "\nDone downloading\n" << std::endl;
if (!noseed && completed > 0) {
std::clog << "Now seeding" << std::endl;
for (size_t i = 0; i < total; ++i) {
@@ -293,6 +294,7 @@ int main(int argc, char *argv[])
std::clog << meta->name() << std::endl;
}
std::clog << "Finished" << std::endl;
logfile.close();
return 0;
}