Parcourir la source

methods/http.cc: use Req.str() in debug output

Michael Vogt il y a 12 ans
Parent
commit
7b734b09f6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      methods/http.cc

+ 1 - 1
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());
 }