From db1a84295d8eafd141411bd8fb6daeb0e055a1e1 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sat, 4 Feb 2012 13:32:11 +0100 Subject: [PATCH] Oops, forgot to adjust tests. --- tests/test.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.m b/tests/test.m index adf68ce..9aeabc1 100644 --- a/tests/test.m +++ b/tests/test.m @@ -158,8 +158,8 @@ OF_APPLICATION_DELEGATE(AppDelegate) 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