ObjXMPP  Diff

Differences From Artifact [08a8e3a88e]:

To Artifact [bba441d31e]:


342
343
344
345
346
347
348

349


350
351
352
353
354
355
356

		assert(0);
	}

	if ([[elem namespace] isEqual: XMPP_NS_STARTTLS]) {
		if ([[elem name] isEqual: @"proceed"]) {
			/* FIXME: Catch errors here */

			sock = [[SSLSocket alloc] initWithSocket: sock];



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








>
|
>
>







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]
			    initWithSocket: sock];
			[sock release];
			sock = newSock;

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