Index: src/XMPPConnection.m ================================================================== --- src/XMPPConnection.m +++ src/XMPPConnection.m @@ -382,23 +382,10 @@ } [parser setDelegate: elementBuilder]; } -- (void)parser: (OFXMLParser*)p - didEndElement: (OFString*)name - withPrefix: (OFString*)prefix - namespace: (OFString*)ns - attributes: (OFArray*)attrs -{ - if (![name isEqual: @"stream"] || ![prefix isEqual: @"stream"] || - ![ns isEqual: XMPP_NS_STREAM]) { - of_log(@"Did not get expected stream end!"); - assert(0); - } -} - - (void)elementBuilder: (OFXMLElementBuilder*)builder didBuildElement: (OFXMLElement*)element { /* Ignore whitespace elements */ if ([element name] == nil)