ObjXMPP  Diff

Differences From Artifact [eb7dbdc3cf]:

To Artifact [cfbc33f443]:


311
312
313
314
315
316
317

318
319







320
321
322
323
324
325
326
311
312
313
314
315
316
317
318


319
320
321
322
323
324
325
326
327
328
329
330
331
332







+
-
-
+
+
+
+
+
+
+







{
	if (length < 1) {
		[delegates broadcastSelector: @selector(connectionWasClosed:)
				  withObject: self];
		return;
	}

	@try {
	[parser parseBuffer: buffer
		     length: length];
		[parser parseBuffer: buffer
			 length: length];
	} @catch (OFMalformedXMLException *e) {
		[self XMPP_sendStreamError: @"bad-format"
				      text: nil];
		[self close];
	}

	[oldParser release];
	[oldElementBuilder release];

	oldParser = nil;
	oldElementBuilder = nil;
}