aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-09-22 12:43:02 -0500
committerCharles Kerr <charles.kerr@canonical.com>2016-09-22 12:43:02 -0500
commitc17e7b8f11eead4105b6fc706650780e68f6634c (patch)
tree37106967e9c45f807ce412ecf9562a6bfabaaacd /src
parentbaa9f937ac60cf1077a0f65197478a376135134d (diff)
downloadayatana-indicator-display-c17e7b8f11eead4105b6fc706650780e68f6634c.tar.gz
ayatana-indicator-display-c17e7b8f11eead4105b6fc706650780e68f6634c.tar.bz2
ayatana-indicator-display-c17e7b8f11eead4105b6fc706650780e68f6634c.zip
fix r25 copypaste error, lock on the correct mutex
Diffstat (limited to 'src')
-rw-r--r--src/adbd-client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adbd-client.cpp b/src/adbd-client.cpp
index 0d955ab..25aefa8 100644
--- a/src/adbd-client.cpp
+++ b/src/adbd-client.cpp
@@ -131,7 +131,7 @@ g_debug("%s %s", G_STRLOC, G_STRFUNC);
g_debug("%s %s", G_STRLOC, G_STRFUNC);
// set m_pkresponse and wake up the waiting worker thread
- std::lock_guard<std::mutex> lk(m_sleep_mutex);
+ std::lock_guard<std::mutex> lk(m_pkresponse_mutex);
//std::unique_lock<std::mutex> lk(m_pkresponse_mutex);
g_debug("%s %s", G_STRLOC, G_STRFUNC);
m_pkresponse = response;