diff options
author | David Turner <digit@android.com> | 2011-02-09 13:50:00 -0800 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2011-02-09 13:50:00 -0800 |
commit | d98942188f1b190b2e2a2a7a4cb11bc4f8a22739 (patch) | |
tree | 760b9c298c8fe37411e174f7bd214ff644cda0ec | |
parent | 1b0e2cf0d8b9b95ca2615adcc30dad4c481b88fc (diff) | |
parent | f06d4c7c55e8b60c27c9be6f824eb41464a0926d (diff) | |
download | external_qemu-d98942188f1b190b2e2a2a7a4cb11bc4f8a22739.zip external_qemu-d98942188f1b190b2e2a2a7a4cb11bc4f8a22739.tar.gz external_qemu-d98942188f1b190b2e2a2a7a4cb11bc4f8a22739.tar.bz2 |
Merge ""Negative" DNS IP address fix"
-rw-r--r-- | slirp-android/slirp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp-android/slirp.c b/slirp-android/slirp.c index dc94a99..e3c4c42 100644 --- a/slirp-android/slirp.c +++ b/slirp-android/slirp.c @@ -81,7 +81,7 @@ int slirp_add_dns_server(const SockAddress* new_dns_addr) return -1; dns_ip = sock_address_get_ip(new_dns_addr); - if (dns_ip < 0) + if (dns_ip == -1) return -1; dns_addr[dns_addr_count++] = dns_ip; |