commit | 753ef0c803ace31386e3e6e49e49cd92bd1439df | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Wed Mar 22 14:58:53 2017 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Fri Mar 31 15:12:29 2017 -0700 |
tree | eff47ac4f88b92a1ab0b41ccaf09127b3ca40c4c | |
parent | 34c212b792cd5b85fb8ca1c89520e5a71956ff10 [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