summaryrefslogtreecommitdiff
path: root/src/HttpServer.cc
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-20 20:23:03 -0800
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-20 20:23:03 -0800
commit77e9a8bb42285c118a8a0d51fa166d838cc9f473 (patch)
treeda289c71f009ce12c9e58ce943680a36f3d9cd11 /src/HttpServer.cc
parent16594884da1c20c60fa1211c76939696547c02b5 (diff)
Switching off_t to off64_t.
Diffstat (limited to 'src/HttpServer.cc')
-rw-r--r--src/HttpServer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/HttpServer.cc b/src/HttpServer.cc
index 3abf776..4a3e086 100644
--- a/src/HttpServer.cc
+++ b/src/HttpServer.cc
@@ -225,7 +225,7 @@ void Balau::HttpWorker::sendError(int error, const char * msg, const char * deta
} else {
IO<Buffer> errorText(new Buffer);
tpl->render(errorText, &ctx);
- off_t length = errorText->getSize();
+ off64_t length = errorText->getSize();
String headers;
headers.set(
"HTTP/1.1 %i %s\r\n"
@@ -272,6 +272,7 @@ bool Balau::HttpWorker::handleClient() {
yield();
continue;
}
+ Printer::log(M_DEBUG, "HTTPIN: %s", line.to_charp());
// until we get a blank line
if (line == "")
break;