diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2016-12-20 18:15:59 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-12-20 18:16:00 +0000 |
| commit | 1fa079b2555a12a53a6d25956d4f371ace60edce (patch) | |
| tree | 1d0f82e2268507169de8488f1a0866a5808e5cd1 /logd | |
| parent | 3080ce2fe4c4d82deb7b89b30e3c839528b23c3d (diff) | |
| parent | d966e226809bd446bb33651b71d7934887787c1d (diff) | |
| download | system_core-1fa079b2555a12a53a6d25956d4f371ace60edce.tar.gz system_core-1fa079b2555a12a53a6d25956d4f371ace60edce.tar.bz2 system_core-1fa079b2555a12a53a6d25956d4f371ace60edce.zip | |
Merge "Revert "logd: trailing spaces in log statistics""
Diffstat (limited to 'logd')
| -rw-r--r-- | logd/LogStatistics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp index 6e63015ac..273150e7d 100644 --- a/logd/LogStatistics.cpp +++ b/logd/LogStatistics.cpp @@ -309,7 +309,7 @@ std::string UidEntry::format(const LogStatistics &stat, log_id_t id) const { if ((spaces <= 0) && pruned.length()) { spaces = 1; } - if ((spaces > 0) && (pruned.length() != 0)) { + if (spaces > 0) { change += android::base::StringPrintf("%*s", (int)spaces, ""); } pruned = change + pruned; |
