ObjFW  Diff

Differences From Artifact [e681f2fd16]:

To Artifact [ae6ba38916]:


452
453
454
455
456
457
458
459
460
461
462

463
464
465
466
467
468
469
       arguments: (va_list)args
{
	int t;
	Class c;

	self = [super init];

	if (fmt == NULL) {
		c = isa;
		[super dealloc];
		@throw [OFInvalidFormatException newWithClass: c];

	}

	if ((t = vasprintf(&string, [fmt cString], args)) == -1) {
		c = isa;
		[super dealloc];

		/*







|


|
>







452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
       arguments: (va_list)args
{
	int t;
	Class c;

	self = [super init];

	if (fmt == nil) {
		c = isa;
		[super dealloc];
		@throw [OFInvalidArgumentException newWithClass: c
						       selector: _cmd];
	}

	if ((t = vasprintf(&string, [fmt cString], args)) == -1) {
		c = isa;
		[super dealloc];

		/*