Switch on errno, not fd, if there's an error on accept()
Merge pull request #28 from tewks/accept_error

Switch on errno, not fd, if there's an error on accept()