summaryrefslogtreecommitdiff
path: root/src/SeedCheckCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-07-20 17:06:21 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-07-20 17:06:21 +0000
commitcd6b6e359135f88afffbaa31c126489aa9813571 (patch)
treebc46068d0f73e8857931b6bb48cf96dbdccd59bd /src/SeedCheckCommand.cc
parent6e7893c8489b6bd100699edfc480d95afda66bc1 (diff)
2007-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug that prevents cookies from being sent to the server if the domain of cookie is FQDN and starts with ".". * src/Cookie.cc (match) To add the ability to change peer id. * src/DefaultBtContext.h (_peerIdPrefix): New variable (setPeerIdPrefix): New function. * src/torrentRequestInfo.cc (execute): Set the option value of PREF_PEER_ID_PREFIX to DefaultBtContext. * src/main.cc (main): Added peer-id-prefix command-line option. The usage message is not added yet. * src/DefaultBtContext.cc (generatePeerId): Use _peerIdPrefix. * src/prefs.h (PREF_PEER_ID_PREFIX): New definition.
Diffstat (limited to 'src/SeedCheckCommand.cc')
-rw-r--r--src/SeedCheckCommand.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SeedCheckCommand.cc b/src/SeedCheckCommand.cc
index ae869724..b419738c 100644
--- a/src/SeedCheckCommand.cc
+++ b/src/SeedCheckCommand.cc
@@ -33,6 +33,7 @@
*/
/* copyright --> */
#include "SeedCheckCommand.h"
+#include "message.h"
SeedCheckCommand::SeedCheckCommand(int cuid,
TorrentDownloadEngine* e,
@@ -59,7 +60,7 @@ bool SeedCheckCommand::execute() {
}
if(checkStarted) {
if(seedCriteria->evaluate()) {
- logger->notice("CUID#%d - Seeding is over.", cuid);
+ logger->notice(MSG_SEEDING_END);
btRuntime->setHalt(true);
}
}