summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp')
-rw-r--r--Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp
index df1da12..ec9c583 100644
--- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp
+++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp
@@ -11,7 +11,7 @@ using namespace Swift;
int main(int, char**) {
SimpleEventLoop eventLoop;
- Client client(JID("echobot@wonderland.lit"), "mypass");
+ Client client(&eventLoop, JID("echobot@wonderland.lit"), "mypass");
client.connect();
eventLoop.run();