commit | 518ea21603bc5b455bb2192b4854833eb872e39e | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Tue Oct 08 10:18:20 2019 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Tue Oct 08 10:18:20 2019 -0700 |
tree | bac2e07e8386f6c9f852afca60149ed1d6ba0200 | |
parent | ec44214bc2980520d9d5a7baf57ddfcbb22e0c28 [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