commit | f220d03c41407e46f60a4b81bfe5badf6f946716 | [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 | 1b6f6407199d04370a80bd80368b1d93480f38e3 [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