From 02fc41d7ae7885a67df60edf17fe5f6f9e37f8c4 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Mon, 19 Sep 2011 18:37:49 +0200 Subject: [PATCH] Adjust to recent ObjFW changes. --- src/SSLSocket.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SSLSocket.m b/src/SSLSocket.m index 67cf861..c74a952 100644 --- a/src/SSLSocket.m +++ b/src/SSLSocket.m @@ -197,7 +197,7 @@ static SSL_CTX *ctx; @throw [OFNotConnectedException newWithClass: isa socket: self]; - if (isAtEndOfStream) { + if (atEndOfStream) { OFReadFailedException *e; e = [OFReadFailedException newWithClass: isa @@ -218,7 +218,7 @@ static SSL_CTX *ctx; requestedLength: length]; if (ret == 0) - isAtEndOfStream = YES; + atEndOfStream = YES; return ret; } @@ -233,7 +233,7 @@ static SSL_CTX *ctx; @throw [OFNotConnectedException newWithClass: isa socket: self]; - if (isAtEndOfStream) { + if (atEndOfStream) { OFWriteFailedException *e; e = [OFWriteFailedException newWithClass: isa @@ -290,7 +290,7 @@ static SSL_CTX *ctx; @throw [OFInvalidArgumentException newWithClass: isa selector: _cmd]; - if (SSL_session_reused(ssl) ^ !isListening) { + if (SSL_session_reused(ssl) ^ !listening) { /* * We are either client or the session has been resumed * => we have sent the finished message