Adjust to ObjFW changes
This commit is contained in:
parent
cd3d39a9c2
commit
5af409d4a5
2 changed files with 6 additions and 3 deletions
|
@ -117,7 +117,8 @@
|
||||||
{
|
{
|
||||||
self = [super initWithHost: host
|
self = [super initWithHost: host
|
||||||
port: port
|
port: port
|
||||||
socket: socket];
|
socket: socket
|
||||||
|
errNo: 0];
|
||||||
|
|
||||||
_SSLError = SSLError;
|
_SSLError = SSLError;
|
||||||
_verifyResult = verifyResult;
|
_verifyResult = verifyResult;
|
||||||
|
|
|
@ -342,7 +342,8 @@ locking_callback(int mode, int n, const char *file, int line)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
@throw [OFReadFailedException exceptionWithObject: self
|
@throw [OFReadFailedException exceptionWithObject: self
|
||||||
requestedLength: length];
|
requestedLength: length
|
||||||
|
errNo: 0];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
|
@ -367,7 +368,8 @@ locking_callback(int mode, int n, const char *file, int line)
|
||||||
|
|
||||||
if (SSL_write(_SSL, buffer, (int)length) < length)
|
if (SSL_write(_SSL, buffer, (int)length) < length)
|
||||||
@throw [OFWriteFailedException exceptionWithObject: self
|
@throw [OFWriteFailedException exceptionWithObject: self
|
||||||
requestedLength: length];
|
requestedLength: length
|
||||||
|
errNo: 0];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (bool)hasDataInReadBuffer
|
- (bool)hasDataInReadBuffer
|
||||||
|
|
Reference in a new issue