summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-02-27 23:35:50 +0000
committerChris Wilson <chris+github@qwirx.com>2014-02-27 23:35:50 +0000
commit9ffa4cabbcac60555f0656640e603f4830a7cb98 (patch)
tree7a8852c7f50d73c0c40656fd2b73b469b899eaea /bin
parent119880f3c92aba8884086dfe4f5faf3e55820f74 (diff)
Fix crash in BackupStoreContext with no HousekeepingInterface pointer.
Rename mrDaemon to mpHousekeeping and make it a pointer, so that it can officially be NULL, and don't crash if it is, and we fail to get a lock on the account.
Diffstat (limited to 'bin')
-rw-r--r--bin/bbstored/BackupStoreDaemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bbstored/BackupStoreDaemon.cpp b/bin/bbstored/BackupStoreDaemon.cpp
index 70ca1d67..2649e0a2 100644
--- a/bin/bbstored/BackupStoreDaemon.cpp
+++ b/bin/bbstored/BackupStoreDaemon.cpp
@@ -329,7 +329,7 @@ void BackupStoreDaemon::Connection2(SocketStreamTLS &rStream)
Logging::Tagger tagWithClientID(tag.str());
// Create a context, using this ID
- BackupStoreContext context(id, *this, GetConnectionDetails());
+ BackupStoreContext context(id, this, GetConnectionDetails());
if (mpTestHook)
{