Kaynağa Gözat

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

Michael Vogt 12 yıl önce
ebeveyn
işleme
7b734b09f6
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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());
 }