1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-11 18:19:38 +02:00

Replaced #getHost with #getServiceName. SMACK-75

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2729 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2005-08-27 02:21:24 +00:00 committed by gato
parent 42fd837376
commit 991e958097
6 changed files with 20 additions and 14 deletions

View file

@ -1723,7 +1723,7 @@ public class MultiUserChatTest extends SmackTestCase {
// Create 20 more connections for user2
XMPPConnection[] conns = new XMPPConnection[20];
for (int i = 0; i < conns.length; i++) {
conns[i] = new XMPPConnection(getHost());
conns[i] = new XMPPConnection(getServiceName());
conns[i].login(getUsername(1), getUsername(1), "resource-" + i);
}