ObjXMPP  Check-in [b3b3413169]

Overview
Comment:Eliminate dead code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b3b3413169021a7614c7558ed112d2cbe21151c93c639505c42c3fd03371370e
User & Date: js on 2011-12-11 23:39:27
Other Links: manifest | tags
Context
2011-12-11
23:40
Get rid of a warning. check-in: e85080a478 user: js tags: trunk
23:39
Eliminate dead code. check-in: b3b3413169 user: js tags: trunk
23:27
Add a delegate for incoming/outgoing elements. check-in: 9ee7cd4433 user: js tags: trunk
Changes

Modified src/XMPPConnection.m from [4cc1dbd235] to [7b09f7e693].

380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
380
381
382
383
384
385
386













387
388
389
390
391
392
393







-
-
-
-
-
-
-
-
-
-
-
-
-







			assert(0);
		}
	}

	[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)
		return;