From 9ffa4cabbcac60555f0656640e603f4830a7cb98 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 27 Feb 2014 23:35:50 +0000 Subject: 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. --- bin/bbstored/BackupStoreDaemon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/bbstored') 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) { -- cgit v1.2.3