summaryrefslogtreecommitdiff
path: root/src/AbstractCommand.cc
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2013-08-25 17:36:53 +0200
committerNils Maier <maierman@web.de>2013-09-19 19:59:33 +0200
commita76eeb2b8106dd725097750c3ee4958e505e3c85 (patch)
tree3d84a88129aca630dde2b9f03208142d0a981149 /src/AbstractCommand.cc
parent8e6e46dfcfdd269538e6c3070e6eea4b624d74fe (diff)
Introduce PrefPtr typedef
Diffstat (limited to 'src/AbstractCommand.cc')
-rw-r--r--src/AbstractCommand.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/AbstractCommand.cc b/src/AbstractCommand.cc
index 9d154c60..a6b58260 100644
--- a/src/AbstractCommand.cc
+++ b/src/AbstractCommand.cc
@@ -564,9 +564,9 @@ namespace {
// Constructs proxy URI, merging username and password if they are
// defined.
std::string makeProxyUri
-(const Pref* proxyPref,
- const Pref* proxyUser,
- const Pref* proxyPasswd,
+(PrefPtr proxyPref,
+ PrefPtr proxyUser,
+ PrefPtr proxyPasswd,
const Option* option)
{
uri::UriStruct us;
@@ -588,9 +588,9 @@ std::string makeProxyUri
namespace {
// Returns proxy option value for the given protocol.
std::string getProxyOptionFor
-(const Pref* proxyPref,
- const Pref* proxyUser,
- const Pref* proxyPasswd,
+(PrefPtr proxyPref,
+ PrefPtr proxyUser,
+ PrefPtr proxyPasswd,
const Option* option)
{
std::string uri = makeProxyUri(proxyPref, proxyUser, proxyPasswd, option);