logd: fix write errors in no_epipe test

This length needs to contain the length of '\0' when writing
string to socket.

Bug: 195717127
Test: run CtsLogdTestCases pass

Change-Id: Ide95656d012d97511c57a4a7cdabcc12a5c33727
(cherry picked from commit 2bb97ecd62c385465d2375bc62a1675d8c838e35)
1 file changed
tree: c1afcf2b5a75b99df828428040d10ec12bbf8f52
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/
  5. rust/
  6. OWNERS
  7. PREUPLOAD.cfg
  8. TEST_MAPPING