@@ -24,11 +24,11 @@ #include #include #include -#import +#import #import "XMPPConnection.h" #import "XMPPSCRAMAuth.h" #import "XMPPPLAINAuth.h" #import "XMPPStanza.h" @@ -337,11 +337,11 @@ } if ([elem.namespace isEqual: XMPP_NS_STARTTLS]) { if ([elem.name isEqual: @"proceed"]) { /* FIXME: Catch errors here */ - sock = [[GTLSSocket alloc] initWithSocket: sock]; + sock = [[SSLSocket alloc] initWithSocket: sock]; /* Stream restart */ parser.delegate = self; [self XMPP_startStream]; return;