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:
@@ -22,9 +22,7 @@
|
||||
#include "torrent.h"
|
||||
|
||||
#include <net/connection.h>
|
||||
|
||||
#include <util/auxiliar.h>
|
||||
#include <util/scheduler.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
@@ -23,7 +23,6 @@
|
||||
#include "torrent.h"
|
||||
|
||||
#include <util/auxiliar.h>
|
||||
//#include <util/scheduler.h>
|
||||
|
||||
#include <thread>
|
||||
#include <future>
|
||||
|
2
main.cpp
2
main.cpp
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user