Overview
Comment: | Ignore whitespace elements. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d0ff4e326dbd1a7b480819389b46da14 |
User & Date: | js on 2011-05-25 22:03:39 |
Other Links: | manifest | tags |
Context
2011-05-25
| ||
22:08 | Fix XMPPSRVEnumerator by rewriting almost all of it. check-in: 55929f12b9 user: js tags: trunk | |
22:03 | Ignore whitespace elements. check-in: d0ff4e326d user: js tags: trunk | |
2011-05-24
| ||
10:27 | Fix completely broken exception handling in -[connect]. check-in: 1b319603af user: js tags: trunk | |
Changes
Modified src/XMPPConnection.m from [56c6a8e995] to [d644212100].
︙ | |||
311 312 313 314 315 316 317 318 319 320 321 322 323 324 | 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 | + + + + | assert(0); } } - (void)elementBuilder: (OFXMLElementBuilder*)builder didBuildElement: (OFXMLElement*)element { /* Ignore whitespace elements */ if ([element name] == nil) return; [element setDefaultNamespace: XMPP_NS_CLIENT]; [element setPrefix: @"stream" forNamespace: XMPP_NS_STREAM]; of_log(@"In: %@", element); if ([[element namespace] isEqual: XMPP_NS_CLIENT]) |
︙ | |||
586 587 588 589 590 591 592 | 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 | - - + + | if ([roster handleIQ: iq]) return; if ([delegate respondsToSelector: @selector(connection:didReceiveIQ:)]) handled = [delegate connection: self didReceiveIQ: iq]; |
︙ |