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