Fix cases of overwriting errno
Summary:AsyncSocket has a few cases where we might overwrite errno, with another function call that is done during use. For example withAddr could cause an EBADF if the fd was bad. This fixes these cases by copying errno, before doing anything else Reviewed By: afrind Differential Revision: D3101932 fb-gh-sync-id: 73d4810314c90cb987936a0a3a9dc977af07243a fbshipit-source-id: 73d4810314c90cb987936a0a3a9dc977af07243a
Showing
Please register or sign in to comment