Differences From Artifact [21f3f29bde]:
- File
src/exceptions/OFBindFailedException.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: 1929) [annotate] [blame] [check-ins using]
To Artifact [857a2f6180]:
- File
src/exceptions/OFBindFailedException.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: 1935) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
81 82 83 84 85 86 87 |
return [OFString stringWithFormat:
@"Binding to port %" @PRIu16 @" on host %@ failed in class %@! "
ERRFMT, _port, _host, _inClass, ERRPARAM];
}
- (OFTCPSocket*)socket
{
| | | | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
return [OFString stringWithFormat:
@"Binding to port %" @PRIu16 @" on host %@ failed in class %@! "
ERRFMT, _port, _host, _inClass, ERRPARAM];
}
- (OFTCPSocket*)socket
{
OF_GETTER(_socket, false)
}
- (OFString*)host
{
OF_GETTER(_host, false)
}
- (uint16_t)port
{
return _port;
}
- (int)errNo
{
return _errNo;
}
@end
|