Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: net/ftp/ftp_network_transaction.cc

Issue 159614: Undisable half of new ftp unit tests in url_request_unittest.cc. (Closed)
Patch Set: remove garbage from log output Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/url_request/url_request_unittest.cc » ('j') | net/url_request/url_request_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_network_transaction.cc
diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc
index e7835902f7f9e911ede825a68f9388080d6b4711..8671cec87a5e1a438d75e386b83e0d1722d3e42c 100644
--- a/net/ftp/ftp_network_transaction.cc
+++ b/net/ftp/ftp_network_transaction.cc
@@ -913,8 +913,7 @@ int FtpNetworkTransaction::DoDataRead() {
}
int FtpNetworkTransaction::DoDataReadComplete(int result) {
- DLOG(INFO) << read_data_buf_->data(); // The read_data_buf_ is NULL
- // terminated string.
+ DLOG(INFO) << std::string(read_data_buf_->data(), result);
wtc 2009/07/30 18:02:32 This should be protected with if (result > 0). Bu
return result;
}
« no previous file with comments | « no previous file | net/url_request/url_request_unittest.cc » ('j') | net/url_request/url_request_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698