From 87ceaec7b9358336dc69faac863a027e501c10c3 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 29 Nov 2011 20:23:17 -0800 Subject: (very small) optimization in the error handler of the HTTP server. --- src/HttpServer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::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 (...) { -- cgit v1.2.3