summaryrefslogtreecommitdiffstats
path: root/lib/Utils/CommLayerInner.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-11-06 15:11:55 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-11-06 15:11:55 +0100
commit3a62ede25114452938acb8e1a67006633b139efc (patch)
treed3a291e5dac5d7ddf14bae4a097ff5b298b71aa5 /lib/Utils/CommLayerInner.cpp
parentfc571a9ac7aaa8802d3e8aacf9aefac12ca3c81c (diff)
parent80975b02ec1a2e8dfc6f7ce21e47cf71b16b5a6e (diff)
downloadabrt-3a62ede25114452938acb8e1a67006633b139efc.tar.gz
abrt-3a62ede25114452938acb8e1a67006633b139efc.tar.xz
abrt-3a62ede25114452938acb8e1a67006633b139efc.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Utils/CommLayerInner.cpp')
-rw-r--r--lib/Utils/CommLayerInner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Utils/CommLayerInner.cpp b/lib/Utils/CommLayerInner.cpp
index b5b8db7..8490e2f 100644
--- a/lib/Utils/CommLayerInner.cpp
+++ b/lib/Utils/CommLayerInner.cpp
@@ -45,7 +45,7 @@ void warn_client(const std::string& pMessage)
pthread_mutex_unlock(&s_map_mutex);
if (peer)
- s_pObs->Warning(pMessage, peer, key);
+ s_pObs->Warning(pMessage.c_str(), peer, key);
else /* Bug: someone tries to warn_client() without set_client_name()!? */
log("Hmm, stray %s: '%s'", __func__, pMessage.c_str());
}
@@ -63,7 +63,7 @@ void update_client(const std::string& pMessage)
pthread_mutex_unlock(&s_map_mutex);
if (peer)
- s_pObs->Status(pMessage, peer, key);
+ s_pObs->Status(pMessage.c_str(), peer, key);
else
log("Hmm, stray %s: '%s'", __func__, pMessage.c_str());
}