diff options
Diffstat (limited to 'logd')
-rw-r--r-- | logd/LogBuffer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/logd/LogBuffer.cpp b/logd/LogBuffer.cpp index 76a4affdc..749832530 100644 --- a/logd/LogBuffer.cpp +++ b/logd/LogBuffer.cpp @@ -165,15 +165,17 @@ static enum match_type identical(LogBufferElement* elem, (lenl == sizeof(android_log_event_int_t)) && !fastcmp<memcmp>(msgl, msgr, sizeof(android_log_event_int_t) - sizeof(int32_t)) && - (elem->getTag() == LIBLOG_LOG_TAG)) + (elem->getTag() == LIBLOG_LOG_TAG)) { return SAME_LIBLOG; + } } // audit message (except sequence number) identical? if (last->isBinary()) { if (fastcmp<memcmp>(msgl, msgr, sizeof(android_log_event_string_t) - - sizeof(int32_t))) + sizeof(int32_t))) { return DIFFERENT; + } msgl += sizeof(android_log_event_string_t); lenl -= sizeof(android_log_event_string_t); msgr += sizeof(android_log_event_string_t); |