Differences From Artifact [039141bbfb]:
- File
src/exceptions/OFConnectionFailedException.m
— part of check-in
[d9ddc4d06e]
at
2013-02-13 23:10:35
on branch trunk
— Don't cache the description of exceptions.
This was pretty pointless, as it's usually only used once. (user: js, size: 1968) [annotate] [blame] [check-ins using]
To Artifact [aea20b11c3]:
- File
src/exceptions/OFConnectionFailedException.m
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 1974) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
82 83 84 85 86 87 88 |
@"A connection to %@ on port %" @PRIu16 @" could not be "
@"established in class %@! " ERRFMT, _host, _port, _inClass,
ERRPARAM];
}
- (OFTCPSocket*)socket
{
| | | | 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
@"A connection to %@ on port %" @PRIu16 @" could not be "
@"established in class %@! " ERRFMT, _host, _port, _inClass,
ERRPARAM];
}
- (OFTCPSocket*)socket
{
OF_GETTER(_socket, false)
}
- (OFString*)host
{
OF_GETTER(_host, false)
}
- (uint16_t)port
{
return _port;
}
- (int)errNo
{
return _errNo;
}
@end
|