diff options
author | Tom Cherry <tomcherry@google.com> | 2019-10-08 10:18:20 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2019-10-08 10:18:20 -0700 |
commit | 29d0e8936431479617b9576b8d741bf83f500702 (patch) | |
tree | 11c5b6a0e7e2cad282126aa27d8ddead6ccfd4f9 /debuggerd/debuggerd_test.cpp | |
parent | c5f8b3925b4ecd1b61caaf4a72d1a0bbc0fc0193 (diff) |
liblog: remove code checking for fd = 0
Fix a typo where I check socket()'s return value for 0 instead of -1
as an error.
Remove code that checks if socket() returns 0 as the actual fd that it
returns. This should not happen in any well formed program.
Test: liblog unit tests
Change-Id: I1d878e85d9a39155d68c6c84e9cf9b0db8d1b3a4
Diffstat (limited to 'debuggerd/debuggerd_test.cpp')
0 files changed, 0 insertions, 0 deletions