Skip to content

Commit

Permalink
Fix assert statement in XMPPTCPConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowdalic committed Mar 23, 2015
1 parent 7cefe63 commit b7fbd06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ private void parsePackets() {
if ("jabber:client".equals(parser.getNamespace(null))) {
streamId = parser.getAttributeValue("", "id");
String reportedServiceName = parser.getAttributeValue("", "from");
assert(reportedServiceName.equals(config.getServiceName()));
assert(config.getServiceName().equals(reportedServiceName));
}
break;
case "error":
Expand Down

0 comments on commit b7fbd06

Please sign in to comment.