commit | 24912e004b8456800ac22b05a7ffeda11dbf44b8 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Oct 19 16:36:13 2009 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Oct 19 17:35:01 2009 -0700 |
tree | c8cf32b7e53c6890f132654322a815d4f24ebbe7 | |
parent | 388ae438a01d2de1e0f9c6a95ab5ad71e5e21f60 [diff] |
Fix OSNetworkSystem.acceptImpl error handling; additional clean-up. The main reason for this patch is that acceptImpl was checking the wrong return code. I've also removed the BADSOCKET and UNKNOWNSOCKET errors because they were being used interchangeably with the BADDESC error and weren't genuinely meaningful. I've also removed the bogus checks for 0 as a file descriptor, which is perfectly valid (if unlikely). I've factored this common snippet out.