From c3b89d37e12ee69cd7968c048ffc30fafbf46049 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 8 Jul 2015 21:37:09 +0900 Subject: [PATCH] Increase --select-file upper bound to 1m for torrent containing lots of files --- src/OptionHandlerFactory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 433d815c..85642c4b 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -1708,7 +1708,7 @@ std::vector OptionHandlerFactory::createOptionHandlers() (PREF_SELECT_FILE, TEXT_SELECT_FILE, NO_DEFAULT_VALUE, - 1, 65535)); + 1, 1_m)); op->addTag(TAG_BITTORRENT); op->addTag(TAG_METALINK); op->setInitialOption(true);