diff options
author | Chris Wilson <chris+github@qwirx.com> | 2012-04-15 13:09:57 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2012-04-15 13:09:57 +0000 |
commit | cedb54686870fe301de6a4351eeba45c5c25932e (patch) | |
tree | 72290d0f27e79046bf3e5a6bc46492b8d3fcbda9 | |
parent | 56a9cd8b7f8b626d57c6fa613d799a336c3655b1 (diff) |
Use C++ string instead of converting to C string and back.
-rw-r--r-- | bin/bbackupd/BackupDaemon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp index 6155dadb..a1560072 100644 --- a/bin/bbackupd/BackupDaemon.cpp +++ b/bin/bbackupd/BackupDaemon.cpp @@ -513,7 +513,7 @@ void BackupDaemon::InitCrypto() keyFile.c_str(), caFile.c_str()); // Set up the keys for various things - BackupClientCryptoKeys_Setup(conf.GetKeyValue("KeysFile").c_str()); + BackupClientCryptoKeys_Setup(conf.GetKeyValue("KeysFile")); } // -------------------------------------------------------------------------- |