diff --git a/src/AbstractCommand.cc b/src/AbstractCommand.cc
index 39baebc0..491a9a24 100644
--- a/src/AbstractCommand.cc
+++ b/src/AbstractCommand.cc
@@ -545,7 +545,7 @@ void AbstractCommand::setWriteCheckSocketIf
namespace {
// Returns proxy option value for the given protocol.
const std::string& getProxyOptionFor
-(const std::string& proxyPref, const SharedHandle