commit | dd609d810b5d60adeb885d37f820fa2a526eef71 | [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 | 2c284bfe6ba67f06e9d72187b2ae93ec7ab6d8af | |
parent | e6b7328b572428b56856618de84f8b9b6f970182 [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