summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-10-05 13:04:06 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-10-05 13:04:06 +0000
commit436448dd8a75d67daa794171c50f32bc4004be7c (patch)
tree86c1347e9118f43ea6b84e2e8d8ccbb9e6df162c /src/OptionHandlerFactory.cc
parent51ba780c76dd850b68e1406fe743408d3c443078 (diff)
2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Included version number in Peer ID and client version. Peer ID now starts with "aria2/VERSION-", where VERSION is MAJOR.MINOR.MICRO. Client version is aria2/VERSION. * src/DefaultBtInteractive.cc * src/OptionHandlerFactory.cc * src/bittorrent_helper.cc * src/bittorrent_helper.h * src/main.cc * src/usage_text.h * test/BittorrentHelperTest.cc
Diffstat (limited to 'src/OptionHandlerFactory.cc')
-rw-r--r--src/OptionHandlerFactory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
index 9480d2c3..2c4593ab 100644
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -1140,7 +1140,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
SharedHandle<OptionHandler> op(new DefaultOptionHandler
(PREF_PEER_ID_PREFIX,
TEXT_PEER_ID_PREFIX,
- "-aria2-"));
+ "aria2/"PACKAGE_VERSION"-"));
op->addTag(TAG_BITTORRENT);
handlers.push_back(op);
}