summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-05-01 09:13:23 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-05-01 09:13:23 (GMT)
commitd94737ef177524014fbf9b1ee2b446825536514b (patch)
tree004df9a022c7c42cad39162ffa84537b63c1953d /Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp
parent4091acca56c189a350e195450272ec4471ba91cd (diff)
downloadswift-contrib-d94737ef177524014fbf9b1ee2b446825536514b.zip
swift-contrib-d94737ef177524014fbf9b1ee2b446825536514b.tar.bz2
Updated Swiften developers guide.
Added call to setAlwaysTrustCertificates in examples. Added C++0x example.
Diffstat (limited to 'Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp')
-rw-r--r--Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp
index 4736494..8a64b56 100644
--- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp
+++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp
@@ -13,6 +13,7 @@ int main(int, char**) {
BoostNetworkFactories networkFactories(&eventLoop);
Client client("echobot@wonderland.lit", "mypass", &networkFactories);
+ client.setAlwaysTrustCertificates();
client.connect();
eventLoop.run();