Differences From Artifact [6e3b6ce290]:
- File
src/exceptions/OFConnectionFailedException.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 2374) [annotate] [blame] [check-ins using]
To Artifact [362d0afa20]:
- File src/exceptions/OFConnectionFailedException.m — part of check-in [4df6ab6bca] at 2017-05-13 16:56:44 on branch trunk — Fix compilation with GCC (user: js, size: 2431) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #include <inttypes.h> #import "OFConnectionFailedException.h" #import "OFString.h" @implementation OFConnectionFailedException @synthesize host = _host, port = _port, socket = _socket, errNo = _errNo; + (instancetype)exceptionWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket { return [[[self alloc] initWithHost: host port: port | > > > > > | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #include <inttypes.h> #import "OFConnectionFailedException.h" #import "OFString.h" @implementation OFConnectionFailedException @synthesize host = _host, port = _port, socket = _socket, errNo = _errNo; + (instancetype)exception { OF_UNRECOGNIZED_SELECTOR } + (instancetype)exceptionWithHost: (OFString *)host port: (uint16_t)port socket: (id)socket { return [[[self alloc] initWithHost: host port: port |
︙ | ︙ |