Closed ericonr closed 3 years ago
If return_result returned zero, it would only close the socket and not free the memory in str. By removing the special case, str will always be freed and the socket will still be closed.
If return_result returned zero, it would only close the socket and not free the memory in str. By removing the special case, str will always be freed and the socket will still be closed.