]> git.saurik.com Git - apt.git/commitdiff
methods/http.cc: use Req.str() in debug output
authorMichael Vogt <mvo@debian.org>
Tue, 24 Jun 2014 13:45:09 +0000 (15:45 +0200)
committerMichael Vogt <mvo@debian.org>
Tue, 24 Jun 2014 13:45:09 +0000 (15:45 +0200)
methods/http.cc

index c734d3799bca55cadf27aafce93fb4e3391289e1..7c7949eac8ef531b4224dab3eedeebe61dcfb316 100644 (file)
@@ -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());
 }