ObjFW  Check-in [560fbbd0b8]

Overview
Comment:Fix a typo in -[description] of OFConnectionFailedException.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 0.5
Files: files | file ages | folders
SHA3-256: 560fbbd0b84a5c5dfaea99f63c8f757c05480c00cafa78448487dc7c6d0055bc
User & Date: js on 2011-04-27 21:29:18
Other Links: branch diff | manifest | tags
Context
2011-04-30
23:01
Copy exceptions/common.h into the resulting framework. check-in: 0b6fc7db82 user: js tags: 0.5
2011-04-27
21:29
Fix a typo in -[description] of OFConnectionFailedException. check-in: 560fbbd0b8 user: js tags: 0.5
2011-04-25
22:46
Cache the class for exeptions in -[OFXMLElement initWithXMLString:]. check-in: 3e2b0e7eac user: js tags: 0.5
Changes

Modified src/exceptions/OFConnectionFailedException.m from [5af8de549d] to [ad4dc4b722].

73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

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

	description = [[OFString alloc] initWithFormat:
	    @"A connection to %@ on port %" @PRIu16 @"could not be established "
	    @"in class %@! " ERRFMT, host, port, inClass, ERRPARAM];

	return description;
}

- (OFTCPSocket*)socket
{
	return socket;







|
|







73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

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

	description = [[OFString alloc] initWithFormat:
	    @"A connection to %@ on port %" @PRIu16 @" could not be "
	    @"established in class %@! " ERRFMT, host, port, inClass, ERRPARAM];

	return description;
}

- (OFTCPSocket*)socket
{
	return socket;