From f322a37f75c58624434e92e6eec803afa99c03df Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Wed, 8 Jun 2011 23:17:25 +0200 Subject: [PATCH] Adjust to API changes in ObjFW. --- src/SSLSocket.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SSLSocket.m b/src/SSLSocket.m index c303912..c10ddbf 100644 --- a/src/SSLSocket.m +++ b/src/SSLSocket.m @@ -85,10 +85,10 @@ static SSL_CTX *ctx; } - (void)connectToHost: (OFString*)host - onPort: (uint16_t)port + port: (uint16_t)port { [super connectToHost: host - onPort: port]; + port: port]; if ((ssl = SSL_new(ctx)) == NULL || !SSL_set_fd(ssl, sock)) { [super close];