netops.c
16.1 KB
-
Correctly handle getaddrinfo return result · d0cf1040
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