1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-23 04:22:05 +01:00

Merge pull request #174 from thakkaryash94/patch-1

Missing comma between password and serviceName
This commit is contained in:
Florian Schmaus 2017-09-25 15:07:18 +02:00 committed by GitHub
commit ff1ab051f5

View file

@ -47,7 +47,7 @@ server. Below are code examples for making a connection:
``` ```
// Create a connection to the jabber.org server. // Create a connection to the jabber.org server.
AbstractXMPPConnection conn1 = **new** XMPPTCPConnection("username", "password" "jabber.org"); AbstractXMPPConnection conn1 = **new** XMPPTCPConnection("username", "password", "jabber.org");
conn1.connect(); conn1.connect();
// Create a connection to the jabber.org server on a specific port. // Create a connection to the jabber.org server on a specific port.