Переглянути джерело

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