Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy 'errno' and use copied value in the if check of retry in cluster…
… migrate commands socket_err block. (#1042) errno is global variable and shared with system calls, so there is chance it may be overwritten during io free or close socket in migrate command code. It would be better it is copied before the free or closesocket and use copied value to check for retry in socket_err block. So added new variable to take copy and used the copy variable for the check. Signed-off-by: Shivshankar-Reddy <[email protected]>
- Loading branch information