commit | eee187a6dd96800522526f2a8b9e1bdc88ddfb67 | [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 | eb77460525655b2e91668366a8d6635370453357 | |
parent | 467f51582dfbb17bd66870d65688cb413644cf6a [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