Use an OFSet for mechanisms.

This commit is contained in:
Jonathan Schleifer 2011-09-10 18:17:35 +02:00
parent 62d2bd2ba5
commit 1f0ba6b533
2 changed files with 6 additions and 4 deletions

View file

@ -702,7 +702,7 @@
namespace: XMPP_NS_SESSION];
OFXMLElement *mechs = [element elementForName: @"mechanisms"
namespace: XMPP_NS_SASL];
OFMutableArray *mechanisms = [OFMutableArray array];
OFMutableSet *mechanisms = [OFMutableSet set];
if (starttls != nil) {
[self sendStanza: