gstreamer: Update from 1.12.3 to 1.14.0
[termux-packages] / packages / torsocks / src-lib-gethostbyname.c.patch
1 --- ./src/lib/gethostbyname.c 2016-10-18 22:14:01.000000000 +0530
2 +++ ../gethostbyname.c 2016-12-22 10:14:38.497288603 +0530
3 @@ -74,7 +74,7 @@
4
5 /* Man page specifies that it can either be an hostname or IPv4 address.
6 * If it's an address, go with it else try to resolve it through Tor. */
7 - if (utils_is_address_ipv4(name)) {
8 + if (utils_is_address_ipv4(name) == 1) {
9 if (inet_pton(AF_INET, name, &ip) <= 0) {
10 goto error;
11 }