ObjXMPP  Diff

Differences From Artifact [08a8e3a88e]:

To Artifact [bba441d31e]:


342
343
344
345
346
347
348

349



350
351
352
353
354
355
356
342
343
344
345
346
347
348
349

350
351
352
353
354
355
356
357
358
359







+
-
+
+
+








		assert(0);
	}

	if ([[elem namespace] isEqual: XMPP_NS_STARTTLS]) {
		if ([[elem name] isEqual: @"proceed"]) {
			/* FIXME: Catch errors here */
			SSLSocket *newSock = [[SSLSocket alloc]
			sock = [[SSLSocket alloc] initWithSocket: sock];
			    initWithSocket: sock];
			[sock release];
			sock = newSock;

			/* Stream restart */
			[parser setDelegate: self];
			[self XMPP_startStream];
			return;
		}