diff options
author | npmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56> | 2010-01-24 02:18:05 +0000 |
---|---|---|
committer | npmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56> | 2010-01-24 02:18:05 +0000 |
commit | 6b9f01bf80f3924ad0f96e3c97ee7b85ddf749f3 (patch) | |
tree | 64dc7f23a960121fc366cd20746d8ad15bbd6b9e /libproxy/proxy.cpp | |
parent | 176ad12190106dae60a2392923ca3f80bbbc958e (diff) | |
download | libproxy-6b9f01bf80f3924ad0f96e3c97ee7b85ddf749f3.tar.gz |
match the pacrunner plugins to the new pacrunner api; convert inet_ntop() uses to getnameinfo()
git-svn-id: http://libproxy.googlecode.com/svn/trunk@499 c587cffe-e639-0410-9787-d7902ae8ed56
Diffstat (limited to 'libproxy/proxy.cpp')
-rw-r--r-- | libproxy/proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libproxy/proxy.cpp b/libproxy/proxy.cpp index 26f060e..cd0fbac 100644 --- a/libproxy/proxy.cpp +++ b/libproxy/proxy.cpp @@ -283,7 +283,7 @@ vector<string> proxy_factory::get_proxies(string __url) { goto do_return; /* Run the PAC, but only try one PACRunner */ - response = _format_pac_response(pacrunners[0]->get(this->pac, this->pacurl->to_string())->run(realurl->to_string(), realurl->get_host())); + response = _format_pac_response(pacrunners[0]->get(this->pac, this->pacurl->to_string())->run(*realurl)); } /* If we have a manual config (http://..., socks://...) */ |