diff options
author | Mark Salyzyn <salyzyn@google.com> | 2017-03-22 14:58:53 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-03-27 15:49:24 -0700 |
commit | 479c8c2e4261f7a8f3ef2ac58395f7008b5b0aa8 (patch) | |
tree | 09e1454a7f653dcff998e2d9472015ae9261ed73 /libunwindstack/tests/MemoryFileTest.cpp | |
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
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions