summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2012-04-15 13:09:57 +0000
committerChris Wilson <chris+github@qwirx.com>2012-04-15 13:09:57 +0000
commitcedb54686870fe301de6a4351eeba45c5c25932e (patch)
tree72290d0f27e79046bf3e5a6bc46492b8d3fcbda9
parent56a9cd8b7f8b626d57c6fa613d799a336c3655b1 (diff)
Use C++ string instead of converting to C string and back.
-rw-r--r--bin/bbackupd/BackupDaemon.cpp2
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"));
}
// --------------------------------------------------------------------------