commit | 1ebd6d701f91c34f4562f522d5b2ce32be056d85 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@android.com> | Wed Feb 09 15:34:16 2011 -0800 |
committer | Android Code Review <code-review@android.com> | Wed Feb 09 15:34:16 2011 -0800 |
tree | c79222448d637e3cf8d9fc5279d0293275812521 | |
parent | d98942188f1b190b2e2a2a7a4cb11bc4f8a22739 [diff] | |
parent | a39b10bd2574825a815d6ad854499dd127cfa9cb [diff] |
Merge "Build arm and x86 binaries at the same time."
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 @@ 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;