Преглед изворни кода

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

Michael Vogt пре 12 година
родитељ
комит
7b734b09f6
1 измењених фајлова са 1 додато и 1 уклоњено
  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());
 }