summaryrefslogtreecommitdiff
path: root/src/SegmentMan.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SegmentMan.cc')
-rw-r--r--src/SegmentMan.cc13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/SegmentMan.cc b/src/SegmentMan.cc
index c2761796..8dca9306 100644
--- a/src/SegmentMan.cc
+++ b/src/SegmentMan.cc
@@ -21,16 +21,19 @@
/* copyright --> */
#include "SegmentMan.h"
#include "DlAbortEx.h"
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <errno.h>
#include "Util.h"
#include "File.h"
#include "message.h"
#include "prefs.h"
+#include "LogFactory.h"
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+#include <errno.h>
-SegmentMan::SegmentMan():totalSize(0),isSplittable(true),downloadStarted(false),dir(".") {}
+SegmentMan::SegmentMan():totalSize(0),isSplittable(true),downloadStarted(false),dir(".") {
+ logger = LogFactory::getInstance();
+}
SegmentMan::~SegmentMan() {}