From d717ffb1d00511958234d1eb4df1d60382297374 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 24 Sep 2008 17:00:01 +0000 Subject: [PATCH] 2008-09-25 Tatsuhiro Tsujikawa Removed default user/pass for FTP user/pass, since it should not have precedence over netrc configuration by default. * src/OptionHandlerFactory.cc --- ChangeLog | 6 ++++++ src/OptionHandlerFactory.cc | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e914fbf8..3d55ee4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-25 Tatsuhiro Tsujikawa + + 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 Added debug log for socket event. diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 9c693c30..bd9825d1 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -550,8 +550,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() { SharedHandle 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 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);