summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-02-24 16:04:22 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-02-24 16:04:22 +0100
commite66056405208b7ba28c848aba5a680fbc9f3a53f (patch)
tree0be0a5e9bbddd9b9828b1085f57909906e79842e
parenta1d815d63000ff0e0cf0e470afa6801e2fed32b9 (diff)
downloadktorrent-e66056405208b7ba28c848aba5a680fbc9f3a53f.tar.gz
ktorrent-e66056405208b7ba28c848aba5a680fbc9f3a53f.zip
Fix unintended rename of chunk*
-rw-r--r--libktorrent/torrent/Makefile.am4
-rw-r--r--libktorrent/torrent/chunkselector.cpp (renamed from libktorrent/torrent/chuntdeselector.cpp)4
-rw-r--r--libktorrent/torrent/chunkselector.h (renamed from libktorrent/torrent/chuntdeselector.h)0
-rw-r--r--libktorrent/torrent/downloader.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/libktorrent/torrent/Makefile.am b/libktorrent/torrent/Makefile.am
index 92a170d..d546228 100644
--- a/libktorrent/torrent/Makefile.am
+++ b/libktorrent/torrent/Makefile.am
@@ -8,7 +8,7 @@ libtorrent_la_LDFLAGS = $(all_libraries)
noinst_HEADERS = advancedchokealgorithm.h announcelist.h authenticate.h \
authenticatebase.h authenticationmonitor.h bdecoder.h bencoder.h bnode.h cache.h \
cachefile.h cap.h choker.h chunk.h chunkcounter.h chunkdownload.h chunkmanager.h \
- chuntdeselector.h dndfile.h downloadcap.h downloader.h globals.h httptracker.h \
+ chunkselector.h dndfile.h downloadcap.h downloader.h globals.h httptracker.h \
ipblocklist.h movedatafilesjob.h multifilecache.h newchokealgorithm.h \
oldchokealgorithm.h packet.h packetreader.h packetwriter.h peer.h peerdownloader.h peerid.h \
peermanager.h peersourcemanager.h peeruploader.h piece.h preallocationthread.h \
@@ -20,7 +20,7 @@ noinst_HEADERS = advancedchokealgorithm.h announcelist.h authenticate.h \
libtorrent_la_SOURCES = advancedchokealgorithm.cpp announcelist.cpp \
authenticate.cpp authenticatebase.cpp authenticationmonitor.cpp bdecoder.cpp \
bencoder.cpp bnode.cpp cache.cpp cachefile.cpp cap.cpp choker.cpp chunk.cpp \
- chunkcounter.cpp chunkdownload.cpp chunkmanager.cpp chuntdeselector.cpp dndfile.cpp \
+ chunkcounter.cpp chunkdownload.cpp chunkmanager.cpp chunkselector.cpp dndfile.cpp \
downloadcap.cpp downloader.cpp globals.cpp httptracker.cpp ipblocklist.cpp \
movedatafilesjob.cpp multifilecache.cpp newchokealgorithm.cpp packet.cpp packetreader.cpp \
packetwriter.cpp peer.cpp peerdownloader.cpp peerid.cpp peermanager.cpp \
diff --git a/libktorrent/torrent/chuntdeselector.cpp b/libktorrent/torrent/chunkselector.cpp
index 5bbd140..b1c42fa 100644
--- a/libktorrent/torrent/chuntdeselector.cpp
+++ b/libktorrent/torrent/chunkselector.cpp
@@ -23,7 +23,7 @@
#include <util/log.h>
#include <util/bitset.h>
#include "chunkcounter.h"
-#include "chuntdeselector.h"
+#include "chunkselector.h"
#include "chunkmanager.h"
#include "downloader.h"
#include "peerdownloader.h"
@@ -158,7 +158,7 @@ namespace bt
// lets do a safety check first
if (from >= cman.getNumChunks() || to >= cman.getNumChunks())
{
- Out(SYS_DIO|LOG_NOTICE) << "Internal error in chuntdeselector" << endl;
+ Out(SYS_DIO|LOG_NOTICE) << "Internal error in chunkselector" << endl;
return;
}
diff --git a/libktorrent/torrent/chuntdeselector.h b/libktorrent/torrent/chunkselector.h
index 3ba2f8a..3ba2f8a 100644
--- a/libktorrent/torrent/chuntdeselector.h
+++ b/libktorrent/torrent/chunkselector.h
diff --git a/libktorrent/torrent/downloader.cpp b/libktorrent/torrent/downloader.cpp
index 4b81f1b..582fa7e 100644
--- a/libktorrent/torrent/downloader.cpp
+++ b/libktorrent/torrent/downloader.cpp
@@ -33,7 +33,7 @@
#include <interfaces/functions.h>
#include <interfaces/monitorinterface.h>
#include "packetwriter.h"
-#include "chuntdeselector.h"
+#include "chunkselector.h"
#include "ipblocklist.h"
#include "ktversion.h"