diff options
Diffstat (limited to 'Documentation/SwiftenDevelopersGuide')
5 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp index 584ec9d..df1da12 100644 --- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp +++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp @@ -8,7 +8,7 @@ using namespace Swift; -int main(int, char*) { +int main(int, char**) { SimpleEventLoop eventLoop; Client client(JID("echobot@wonderland.lit"), "mypass"); diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot2.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot2.cpp index f332fc8..dcecbcb 100644 --- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot2.cpp +++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot2.cpp @@ -17,7 +17,7 @@ Client* client; void handleConnected(); void handleMessageReceived(Message::ref message); -int main(int, char*) { +int main(int, char**) { SimpleEventLoop eventLoop; client = new Client(JID("echobot@wonderland.lit"), "mypass"); diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp index a9c611f..b5e6972 100644 --- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp +++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp @@ -45,7 +45,7 @@ class EchoBot { ClientXMLTracer* tracer; }; -int main(int, char*) { +int main(int, char**) { SimpleEventLoop eventLoop; EchoBot bot; eventLoop.run(); diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot4.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot4.cpp index b01fecd..9cedc43 100644 --- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot4.cpp +++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot4.cpp @@ -80,7 +80,7 @@ class EchoBot { }; //... -int main(int, char*) { +int main(int, char**) { SimpleEventLoop eventLoop; EchoBot bot; eventLoop.run(); diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp index 72d0eb1..b0a76fd 100644 --- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp +++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp @@ -86,7 +86,7 @@ class EchoBot { }; //... -int main(int, char*) { +int main(int, char**) { SimpleEventLoop eventLoop; EchoBot bot; eventLoop.run(); |