summaryrefslogtreecommitdiff
path: root/src/HttpServerCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-02-18 22:34:38 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-02-18 22:34:38 +0900
commit7230fbd2f780023b269fc940a286cd064fbe98b2 (patch)
tree8e8aba0e732ab868574fda19db703162026e28b3 /src/HttpServerCommand.cc
parent5b62fa9ab1d8baff8400fd49c79218659edecb71 (diff)
Replaced HAVE_LIBZ with HAVE_ZLIB
Diffstat (limited to 'src/HttpServerCommand.cc')
-rw-r--r--src/HttpServerCommand.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HttpServerCommand.cc b/src/HttpServerCommand.cc
index 92b465ac..cf1ab35e 100644
--- a/src/HttpServerCommand.cc
+++ b/src/HttpServerCommand.cc
@@ -66,11 +66,11 @@ HttpServerCommand::HttpServerCommand
e_->addSocketForReadCheck(socket_, this);
httpServer_->setUsernamePassword(e_->getOption()->get(PREF_XML_RPC_USER),
e_->getOption()->get(PREF_XML_RPC_PASSWD));
-#ifdef HAVE_LIBZ
+#ifdef HAVE_ZLIB
httpServer_->enableGZip();
-#else // !HAVE_LIBZ
+#else // !HAVE_ZLIB
httpServer_->disableGZip();
-#endif // !HAVE_LIBZ
+#endif // !HAVE_ZLIB
checkSocketRecvBuffer();
}