summaryrefslogtreecommitdiff
path: root/methods/http.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-06-24 15:45:09 +0200
committerMichael Vogt <mvo@debian.org>2014-06-24 15:45:09 +0200
commit7b734b09f6bd9356e4622aee64bd2e5e43554570 (patch)
treeb347304b87f5d82eb5f0a7a78e18500c3ef2e2c4 /methods/http.cc
parent48388911a734ed9ce10ab05043fadba3eed09a1f (diff)
methods/http.cc: use Req.str() in debug output
Diffstat (limited to 'methods/http.cc')
-rw-r--r--methods/http.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc
index c734d3799..7c7949eac 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -744,7 +744,7 @@ void HttpMethod::SendReq(FetchItem *Itm)
Req << "\r\n";
if (Debug == true)
- cerr << Req << endl;
+ cerr << Req.str() << endl;
Server->WriteResponse(Req.str());
}