summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/chat/chat-sender.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/components/chat/chat-sender.cpp')
-rw-r--r--sca-cpp/trunk/components/chat/chat-sender.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/components/chat/chat-sender.cpp b/sca-cpp/trunk/components/chat/chat-sender.cpp
index 0672292a06..a4cabef8de 100644
--- a/sca-cpp/trunk/components/chat/chat-sender.cpp
+++ b/sca-cpp/trunk/components/chat/chat-sender.cpp
@@ -118,8 +118,8 @@ private:
const failable<value> start(const list<value>& params) {
// Extract the the XMPP JID and password
const list<value> props = params;
- const value jid = ((lambda<value(list<value>)>)car(props))(list<value>());
- const value pass = ((lambda<value(list<value>)>)cadr(props))(list<value>());
+ const value jid = ((lambda<value(const list<value>&)>)car(props))(list<value>());
+ const value pass = ((lambda<value(const list<value>&)>)cadr(props))(list<value>());
// Create an XMPP client session
XMPPClient xc(jid, pass, false);