netops.c
16.2 KB
-
Correctly handle getaddrinfo return result · b5935779
The getaddrinfo function indicates failure with a non-zero return code, but this code is not necessarily negative. On platforms like Android where the code is positive, a failed call causes libgit2 to segfault.
William Swanson committed