summaryrefslogtreecommitdiffstats
path: root/lib/Utils/CommLayerInner.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-06 12:41:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-06 12:41:24 +0100
commitc8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608 (patch)
tree237a9d3f821d01932111e9fa59af5d3e44b988c8 /lib/Utils/CommLayerInner.cpp
parent03bbbf8eff11cf68a7e2325ca310e02bf3757193 (diff)
downloadabrt-c8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608.tar.gz
abrt-c8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608.tar.xz
abrt-c8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608.zip
mass replace of const string& params by const char*
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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());
}