diff options
author | David 'Digit' Turner <digit@android.com> | 2010-07-30 15:35:00 -0700 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2010-07-30 15:35:00 -0700 |
commit | 9b98dbde344781e93e2bdcfa599428cda2fda41d (patch) | |
tree | 984065a5cd8d66a99000096fb2018f3ba7988320 /proxy/proxy_http_rewriter.c | |
parent | 7fd67eba0b961d94a5d6baa8e3c3de37b729f738 (diff) | |
download | external_qemu-9b98dbde344781e93e2bdcfa599428cda2fda41d.zip external_qemu-9b98dbde344781e93e2bdcfa599428cda2fda41d.tar.gz external_qemu-9b98dbde344781e93e2bdcfa599428cda2fda41d.tar.bz2 |
Better detection of incorrect proxy values when starting the emulator.
Change-Id: I344f06fc16e051359669b8fe9b8dcec0ceca377d
Diffstat (limited to 'proxy/proxy_http_rewriter.c')
-rw-r--r-- | proxy/proxy_http_rewriter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/proxy_http_rewriter.c b/proxy/proxy_http_rewriter.c index 7645ecc..af3f5e7 100644 --- a/proxy/proxy_http_rewriter.c +++ b/proxy/proxy_http_rewriter.c @@ -1121,7 +1121,7 @@ http_rewriter_connect( HttpService* service, RewriteConnection* conn; int s; - s = socket_create_inet( SOCKET_STREAM ); + s = socket_create(address->family, SOCKET_STREAM ); if (s < 0) return NULL; |