Adjust to ObjFW changes
This commit is contained in:
parent
41e1bbf03f
commit
f5b340106d
1 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@
|
||||||
#import <ObjFW/OFConnectionFailedException.h>
|
#import <ObjFW/OFConnectionFailedException.h>
|
||||||
#import <ObjFW/OFInitializationFailedException.h>
|
#import <ObjFW/OFInitializationFailedException.h>
|
||||||
#import <ObjFW/OFInvalidArgumentException.h>
|
#import <ObjFW/OFInvalidArgumentException.h>
|
||||||
#import <ObjFW/OFNotConnectedException.h>
|
#import <ObjFW/OFNotOpenException.h>
|
||||||
#import <ObjFW/OFOutOfRangeException.h>
|
#import <ObjFW/OFOutOfRangeException.h>
|
||||||
#import <ObjFW/OFReadFailedException.h>
|
#import <ObjFW/OFReadFailedException.h>
|
||||||
#import <ObjFW/OFWriteFailedException.h>
|
#import <ObjFW/OFWriteFailedException.h>
|
||||||
|
@ -233,7 +233,7 @@ locking_callback(int mode, int n, const char *file, int line)
|
||||||
@throw [OFOutOfRangeException exception];
|
@throw [OFOutOfRangeException exception];
|
||||||
|
|
||||||
if (_socket == INVALID_SOCKET)
|
if (_socket == INVALID_SOCKET)
|
||||||
@throw [OFNotConnectedException exceptionWithSocket: self];
|
@throw [OFNotOpenException exceptionWithObject: self];
|
||||||
|
|
||||||
if (_atEndOfStream)
|
if (_atEndOfStream)
|
||||||
@throw [OFReadFailedException exceptionWithObject: self
|
@throw [OFReadFailedException exceptionWithObject: self
|
||||||
|
@ -261,7 +261,7 @@ locking_callback(int mode, int n, const char *file, int line)
|
||||||
@throw [OFOutOfRangeException exception];
|
@throw [OFOutOfRangeException exception];
|
||||||
|
|
||||||
if (_socket == INVALID_SOCKET)
|
if (_socket == INVALID_SOCKET)
|
||||||
@throw [OFNotConnectedException exceptionWithSocket: self];
|
@throw [OFNotOpenException exceptionWithObject: self];
|
||||||
|
|
||||||
if (_atEndOfStream)
|
if (_atEndOfStream)
|
||||||
@throw [OFWriteFailedException exceptionWithObject: self
|
@throw [OFWriteFailedException exceptionWithObject: self
|
||||||
|
|
Reference in a new issue