From e66056405208b7ba28c848aba5a680fbc9f3a53f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 24 Feb 2013 16:04:22 +0100 Subject: [PATCH] Fix unintended rename of chunk* --- libktorrent/torrent/Makefile.am | 4 ++-- .../torrent/{chuntdeselector.cpp => chunkselector.cpp} | 4 ++-- libktorrent/torrent/{chuntdeselector.h => chunkselector.h} | 0 libktorrent/torrent/downloader.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename libktorrent/torrent/{chuntdeselector.cpp => chunkselector.cpp} (98%) rename libktorrent/torrent/{chuntdeselector.h => chunkselector.h} (100%) 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 similarity index 98% rename from libktorrent/torrent/chuntdeselector.cpp rename to libktorrent/torrent/chunkselector.cpp index 5bbd140..b1c42fa 100644 --- a/libktorrent/torrent/chuntdeselector.cpp +++ b/libktorrent/torrent/chunkselector.cpp @@ -23,7 +23,7 @@ #include #include #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 similarity index 100% rename from libktorrent/torrent/chuntdeselector.h rename to 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 #include #include "packetwriter.h" -#include "chuntdeselector.h" +#include "chunkselector.h" #include "ipblocklist.h" #include "ktversion.h"