| Index: net/ftp/ftp_util.cc
|
| diff --git a/net/ftp/ftp_util.cc b/net/ftp/ftp_util.cc
|
| index b5580664736bc1aa613dc680c569e67f6a789270..5462363ea3826bdab8571d9cfede4df672b8df0b 100644
|
| --- a/net/ftp/ftp_util.cc
|
| +++ b/net/ftp/ftp_util.cc
|
| @@ -174,7 +174,7 @@ class AbbreviatedMonthsMap {
|
|
|
| for (int32_t month = 0; month < months_count; month++) {
|
| base::string16 month_name(months[month].getBuffer(),
|
| - static_cast<size_t>(months[month].length()));
|
| + static_cast<size_t>(months[month].length()));
|
|
|
| // Ignore the case of the month names. The simplest way to handle that
|
| // is to make everything lowercase.
|
| @@ -228,7 +228,7 @@ bool FtpUtil::LsDateListingToTime(const base::string16& month,
|
| const base::string16& rest,
|
| const base::Time& current_time,
|
| base::Time* result) {
|
| - base::Time::Exploded time_exploded = { 0 };
|
| + base::Time::Exploded time_exploded = {0};
|
|
|
| if (!AbbreviatedMonthToNumber(month, &time_exploded.month)) {
|
| // Work around garbage sent by some servers in the same column
|
| @@ -292,7 +292,7 @@ bool FtpUtil::LsDateListingToTime(const base::string16& month,
|
| bool FtpUtil::WindowsDateListingToTime(const base::string16& date,
|
| const base::string16& time,
|
| base::Time* result) {
|
| - base::Time::Exploded time_exploded = { 0 };
|
| + base::Time::Exploded time_exploded = {0};
|
|
|
| // Date should be in format MM-DD-YY[YY].
|
| std::vector<base::string16> date_parts;
|
|
|