ObjXMPP  Check-in [2178192b6f]

Overview
Comment:Oops, forgot to adjust tests.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2178192b6f533894d139157a41b455fb5c3b391558f6bbe01616931328047c60
User & Date: js on 2012-02-04 12:32:11
Other Links: manifest | tags
Context
2012-02-04
12:57
Oops, forgot a few changes. check-in: ffc2f54b93 user: js tags: trunk
12:32
Oops, forgot to adjust tests. check-in: 2178192b6f user: js tags: trunk
11:52
Add the XMPPConnection to xmpp_calback_block_t. check-in: 779fac15b1 user: js tags: trunk
Changes

Modified tests/test.m from [393e299430] to [e993b8ccf6].

154
155
156
157
158
159
160
161
162


163
164
165
166
167
168
169
154
155
156
157
158
159
160


161
162
163
164
165
166
167
168
169







-
-
+
+







	[conn sendStanza: pres];

#ifdef OF_HAVE_BLOCKS
	XMPPIQ *iq = [XMPPIQ IQWithType: @"get"
				     ID: [conn generateStanzaID]];
	[iq addChild: [OFXMLElement elementWithName: @"ping"
					  namespace: @"urn:xmpp:ping"]];
	[conn sendIQ: iq
   withCallbackBlock: ^(XMPPIQ* resp) {
	[conn	       sendIQ: iq
	    withCallbackBlock: ^ (XMPPConnection *c, XMPPIQ *resp) {
		of_log(@"Ping response: %@", resp);
	}];
#endif
}

- (void)connectionDidUpgradeToTLS: (XMPPConnection*)conn_
{