From: Michael Vogt Date: Tue, 24 Jun 2014 13:45:09 +0000 (+0200) Subject: methods/http.cc: use Req.str() in debug output X-Git-Tag: 1.0.6~24 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/7b734b09f6bd9356e4622aee64bd2e5e43554570 methods/http.cc: use Req.str() in debug output --- 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()); }