2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Removed default user/pass for FTP user/pass, since it should not 
have
	precedence over netrc configuration by default.
	* src/OptionHandlerFactory.cc
pull/1/head
Tatsuhiro Tsujikawa 2008-09-24 17:00:01 +00:00
parent dc6ef187b6
commit d717ffb1d0
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Removed default user/pass for FTP user/pass, since it should not have
precedence over netrc configuration by default.
* src/OptionHandlerFactory.cc
2008-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added debug log for socket event.

View File

@ -550,8 +550,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
{
SharedHandle<OptionHandler> op(new DefaultOptionHandler
(PREF_FTP_PASSWD,
TEXT_FTP_PASSWD,
"ARIA2USER@"));
TEXT_FTP_PASSWD));
op->addTag(TAG_BASIC);
op->addTag(TAG_FTP);
handlers.push_back(op);
@ -584,8 +583,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
{
SharedHandle<OptionHandler> op(new DefaultOptionHandler
(PREF_FTP_USER,
TEXT_FTP_USER,
"anonymous"));
TEXT_FTP_USER));
op->addTag(TAG_BASIC);
op->addTag(TAG_FTP);
handlers.push_back(op);