summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-21 13:36:15 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-21 13:36:15 +0200
commitfcd7af76285a58aa8e2ba645b8380c2c86f66908 (patch)
tree97419597fa2d9ffb8c2fa68906344bc41c1b480c
parentb69608a0d947ec1de15138a670939417c977775f (diff)
downloadJRummikub-fcd7af76285a58aa8e2ba645b8380c2c86f66908.tar
JRummikub-fcd7af76285a58aa8e2ba645b8380c2c86f66908.zip
Fix unknown host error
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@544 72836036-5685-4462-b002-a69064685172
-rw-r--r--src/jrummikub/control/network/ConnectionControl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jrummikub/control/network/ConnectionControl.java b/src/jrummikub/control/network/ConnectionControl.java
index 897d0f5..9e8446d 100644
--- a/src/jrummikub/control/network/ConnectionControl.java
+++ b/src/jrummikub/control/network/ConnectionControl.java
@@ -598,7 +598,7 @@ public class ConnectionControl implements IConnectionControl {
XMPPError xmppError = e.getXMPPError();
if (xmppError != null) {
- if (xmppError.getType() == Type.CANCEL && xmppError.getCode() == 504) {
+ if (xmppError.getType() == Type.WAIT && xmppError.getCode() == 504) {
return LoginError.UNKNOWN_HOST;
}
}