Differences From Artifact [393e299430]:
- File
tests/test.m
— part of check-in
[aa0dc6e2b4]
at
2012-02-03 15:46:06
on branch trunk
— Let -[checkCertificate] return a BOOL and a reason.
Throwing an exception there was strange. (user: js, size: 6217) [annotate] [blame] [check-ins using]
To Artifact [e993b8ccf6]:
- File tests/test.m — part of check-in [2178192b6f] at 2012-02-04 12:32:11 on branch trunk — Oops, forgot to adjust tests. (user: js, size: 6246) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
154 155 156 157 158 159 160 | [conn sendStanza: pres]; #ifdef OF_HAVE_BLOCKS XMPPIQ *iq = [XMPPIQ IQWithType: @"get" ID: [conn generateStanzaID]]; [iq addChild: [OFXMLElement elementWithName: @"ping" namespace: @"urn:xmpp:ping"]]; | | | | 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: ^ (XMPPConnection *c, XMPPIQ *resp) { of_log(@"Ping response: %@", resp); }]; #endif } - (void)connectionDidUpgradeToTLS: (XMPPConnection*)conn_ { |
︙ | ︙ |