ObjFW  Diff

Differences From Artifact [826b8163be]:

To Artifact [047d11c618]:


38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
}

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

	if (requestedSize)
		description = [[OFString alloc] initWithFormat:
		    @"Could not allocate %zu bytes in class %@!", requestedSize,
		    inClass];
	else
		description = [[OFString alloc] initWithFormat:
		    @"Could not allocate enough memory in class %@!", inClass];








|







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
}

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

	if (requestedSize != 0)
		description = [[OFString alloc] initWithFormat:
		    @"Could not allocate %zu bytes in class %@!", requestedSize,
		    inClass];
	else
		description = [[OFString alloc] initWithFormat:
		    @"Could not allocate enough memory in class %@!", inClass];