commit | 8f2c821921d748342f63be9aa8d6d69bbd20a65a | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Dec 20 18:15:59 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Dec 20 18:16:00 2016 +0000 |
tree | 1d0f82e2268507169de8488f1a0866a5808e5cd1 | |
parent | a0752b94402964a0d9fff4a54ae8073c17c3fb53 [diff] | |
parent | bf93e9a7ea53e8431454c49608807d41f576cffb [diff] |
Merge "Revert "logd: trailing spaces in log statistics""
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp index 6e63015..273150e 100644 --- a/logd/LogStatistics.cpp +++ b/logd/LogStatistics.cpp
@@ -309,7 +309,7 @@ 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;