From f5b340106d868887ee0755791283fc117a81b68e Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Thu, 7 May 2015 23:29:53 +0200 Subject: [PATCH] Adjust to ObjFW changes --- src/SSLSocket.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SSLSocket.m b/src/SSLSocket.m index 3bd30d7..7cf0776 100644 --- a/src/SSLSocket.m +++ b/src/SSLSocket.m @@ -39,7 +39,7 @@ #import #import #import -#import +#import #import #import #import @@ -233,7 +233,7 @@ locking_callback(int mode, int n, const char *file, int line) @throw [OFOutOfRangeException exception]; if (_socket == INVALID_SOCKET) - @throw [OFNotConnectedException exceptionWithSocket: self]; + @throw [OFNotOpenException exceptionWithObject: self]; if (_atEndOfStream) @throw [OFReadFailedException exceptionWithObject: self @@ -261,7 +261,7 @@ locking_callback(int mode, int n, const char *file, int line) @throw [OFOutOfRangeException exception]; if (_socket == INVALID_SOCKET) - @throw [OFNotConnectedException exceptionWithSocket: self]; + @throw [OFNotOpenException exceptionWithObject: self]; if (_atEndOfStream) @throw [OFWriteFailedException exceptionWithObject: self