commit | 6990121a6e7a3931bcdccce1a2c05665eb338425 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu Mar 16 00:51:29 2017 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Mar 16 00:51:34 2017 +0000 |
tree | 27a4dbc6d0da07cd312a2e2f1e723db33ec2977a | |
parent | b675676e21c953d238e15d8cf6591f6ddb2903f5 [diff] | |
parent | 2d38bf658022da91d684218a342d6d1e03626b29 [diff] |
Merge "Get rid of LinearTransform"
diff --git a/logcat/tests/logcat_test.cpp b/logcat/tests/logcat_test.cpp index dad74ee..0895834 100644 --- a/logcat/tests/logcat_test.cpp +++ b/logcat/tests/logcat_test.cpp
@@ -208,9 +208,9 @@ if ((*ep != '-') && (*ep != '.')) { continue; } - // Find PID field + // Find PID field. Look for ': ' or ':[0-9][0-9][0-9]' while (((ep = strchr(ep, ':'))) && (*++ep != ' ')) { - ; + if (isdigit(ep[0]) && isdigit(ep[1]) && isdigit(ep[2])) break; } if (!ep) { continue;