ObjFW  Diff

Differences From Artifact [1441dd45a6]:

To Artifact [1896452c73]:


65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
	[_host release];

	[super dealloc];
}

- (OFString*)description
{
	if (_description != nil)
		return _description;

	if (_host != nil)
		_description = [[OFString alloc] initWithFormat:
		    @"The host %@ could not be translated to an address in "
		    @"class %@. This means that either the host was not found, "
		    @"there was a problem with the name server, there was a "
		    @"problem with your network connection or you specified an "
		    @"invalid host. " ERRFMT, _host, _inClass, AT_ERRPARAM];
	else
		_description = [[OFString alloc] initWithFormat:
		    @"An address translation failed in class %@! " ERRFMT,
		    _inClass, AT_ERRPARAM];

	return _description;
}

- (OFTCPSocket*)socket
{
	OF_GETTER(_socket, NO)
}








<
<
<

|






|


<
<







65
66
67
68
69
70
71



72
73
74
75
76
77
78
79
80
81
82


83
84
85
86
87
88
89
	[_host release];

	[super dealloc];
}

- (OFString*)description
{



	if (_host != nil)
		return [OFString stringWithFormat:
		    @"The host %@ could not be translated to an address in "
		    @"class %@. This means that either the host was not found, "
		    @"there was a problem with the name server, there was a "
		    @"problem with your network connection or you specified an "
		    @"invalid host. " ERRFMT, _host, _inClass, AT_ERRPARAM];
	else
		return [OFString stringWithFormat:
		    @"An address translation failed in class %@! " ERRFMT,
		    _inClass, AT_ERRPARAM];


}

- (OFTCPSocket*)socket
{
	OF_GETTER(_socket, NO)
}