summaryrefslogtreecommitdiffstats
path: root/net/ftp
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-28 18:08:30 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-28 18:08:30 +0000
commit5b3666cd0b4738235658693a3da5e47780a27f8a (patch)
treed304b0d6fe03b43915d7e584ea3b7d38ef36161a /net/ftp
parent2fc1fd823115b870aaa1f2dbe3e308737b7ae44b (diff)
downloadchromium_src-5b3666cd0b4738235658693a3da5e47780a27f8a.zip
chromium_src-5b3666cd0b4738235658693a3da5e47780a27f8a.tar.gz
chromium_src-5b3666cd0b4738235658693a3da5e47780a27f8a.tar.bz2
Fix SCOPED_TRACE to not access memory in a wrong way.
TEST=Covered by net_unittests. BUG=25520 TBR=eroman Review URL: http://codereview.chromium.org/344015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp')
-rw-r--r--net/ftp/ftp_directory_listing_parsers_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ftp/ftp_directory_listing_parsers_unittest.cc b/net/ftp/ftp_directory_listing_parsers_unittest.cc
index e45968a..e74d421 100644
--- a/net/ftp/ftp_directory_listing_parsers_unittest.cc
+++ b/net/ftp/ftp_directory_listing_parsers_unittest.cc
@@ -67,7 +67,7 @@ TEST_F(FtpDirectoryListingParsersTest, Ls) {
now_exploded.year, 10, 12, 13, 37 },
};
for (size_t i = 0; i < arraysize(good_cases); i++) {
- SCOPED_TRACE(StringPrintf("Test[%d]: %s", i, good_cases[i]));
+ SCOPED_TRACE(StringPrintf("Test[%d]: %s", i, good_cases[i].input));
net::FtpLsDirectoryListingParser parser;
RunSingleLineTestCase(&parser, good_cases[i]);