summaryrefslogtreecommitdiff
path: root/src/HttpServer.cc
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-11-29 20:23:17 -0800
committerPixel <pixel@nobis-crew.org>2011-11-29 20:23:17 -0800
commit87ceaec7b9358336dc69faac863a027e501c10c3 (patch)
tree794ae795d4be5473ecefef4866fe6f2aa7a8fb0e /src/HttpServer.cc
parent637fd157a03142438353346ec9b6da76b41870ff (diff)
(very small) optimization in the error handler of the HTTP server.
Diffstat (limited to 'src/HttpServer.cc')
-rw-r--r--src/HttpServer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpServer.cc b/src/HttpServer.cc
index 7a5a725..e80f032 100644
--- a/src/HttpServer.cc
+++ b/src/HttpServer.cc
@@ -479,7 +479,7 @@ bool Balau::HttpWorker::handleClient() {
for (std::vector<String>::iterator i = trace.begin(); i != trace.end(); i++)
Printer::log(M_DEBUG, "%s", i->to_charp());
if (!out->wrote())
- send500(e.getMsg(), e.getTrace());
+ send500(e.getMsg(), trace);
return false;
}
catch (...) {