diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-17 15:18:13 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-17 15:18:13 +0200 |
commit | d37d0127742a7574d4f48860de2e82fb523e508a (patch) | |
tree | ae22136cc2fbca64a02d14fb47c596d4ea7d865f /src/download-via-ssh | |
parent | eca29bd72de5fe814fd1ae8edc8c36351a0759d8 (diff) |
Settings: Add bool get()
Diffstat (limited to 'src/download-via-ssh')
-rw-r--r-- | src/download-via-ssh/download-via-ssh.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/download-via-ssh/download-via-ssh.cc b/src/download-via-ssh/download-via-ssh.cc index d221fa8b5..b64455eb1 100644 --- a/src/download-via-ssh/download-via-ssh.cc +++ b/src/download-via-ssh/download-via-ssh.cc @@ -108,7 +108,7 @@ int main(int argc, char * * argv) /* Pass on the location of the daemon client's SSH authentication socket. */ - string sshAuthSock = settings.get("ssh-auth-sock", ""); + string sshAuthSock = settings.get("ssh-auth-sock", string("")); if (sshAuthSock != "") setenv("SSH_AUTH_SOCK", sshAuthSock.c_str(), 1); string host = settings.sshSubstituterHosts.front(); |