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
1 file changed
tree: 3f0852f676dc8c126507f58ba126e5a71834543d
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/
  5. rust/
  6. OWNERS
  7. PREUPLOAD.cfg
  8. TEST_MAPPING