diff options
| author | Nils Maier <maierman@web.de> | 2013-08-25 17:36:53 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2013-09-19 19:59:33 +0200 |
| commit | a76eeb2b8106dd725097750c3ee4958e505e3c85 (patch) | |
| tree | 3d84a88129aca630dde2b9f03208142d0a981149 /src/AbstractCommand.cc | |
| parent | 8e6e46dfcfdd269538e6c3070e6eea4b624d74fe (diff) | |
Introduce PrefPtr typedef
Diffstat (limited to 'src/AbstractCommand.cc')
| -rw-r--r-- | src/AbstractCommand.cc | 12 |
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); |
