Commit d0cf1040c703c7131c7c70d9de6bc2dd78b25d57

William Swanson 2014-09-24T12:01:14

Correctly handle getaddrinfo return result 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.