commit | 479c8c2e4261f7a8f3ef2ac58395f7008b5b0aa8 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Wed Mar 22 14:58:53 2017 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Mon Mar 27 15:49:24 2017 -0700 |
tree | 09e1454a7f653dcff998e2d9472015ae9261ed73 | |
parent | b15429c0eade8a5f9b456c5f0aa57eec697e9ff2 [diff] |
logd: strip out empty trailing iovec If the last buffer has zero length, strip it out of the iovec issued to SocketClient::sendDatav(). Test: gTest liblog-unit-tests, logd-unit-tests, logcat-unit-tests Bug: 36497967 Change-Id: I8fc585bbec63402d0e818ff4c620fdd7edcc38dc