summaryrefslogtreecommitdiff
path: root/src/FtpConnection.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-04-26 05:58:49 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-04-26 05:58:49 +0000
commit90d5b5c0a268e145cd121a0bcf2bdc0b624f0ca3 (patch)
tree913532d3875403d87d38037dcca0e15c3fed539c /src/FtpConnection.h
parent0f92203ffebb18f754cffecc06dcb2bea2189594 (diff)
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added StringFormat class, which internally calls vasprintf. operator<< is defined for this class, so it can be used with iostream classes nicely. SimpleLogger and following functions are rewritten using StringFormat class. Besides, now Logger class's methods are non-const, many classes that has a const Logger* as a member variable are modified to remove const qualifier from the variable declaration. * src/HelpItemFactory.cc * src/Request.cc * src/SimpleLogger.cc * src/StringFormat.cc * src/StringFormat.h * src/Util.cc * src/option_processing.cc * src/version_usage.cc * test/StringFormatTest.cc * src/*.h: The classes that has const Logger* as a member variable.
Diffstat (limited to 'src/FtpConnection.h')
-rw-r--r--src/FtpConnection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FtpConnection.h b/src/FtpConnection.h
index bc0b597b..2f1f7709 100644
--- a/src/FtpConnection.h
+++ b/src/FtpConnection.h
@@ -54,7 +54,7 @@ private:
SharedHandle<SocketCore> socket;
SharedHandle<Request> req;
const Option* option;
- const Logger* logger;
+ Logger* logger;
std::string strbuf;