ObjFW  Diff

Differences From Artifact [939c56bbd9]:

To Artifact [07a6d8ae59]:


248
249
250
251
252
253
254
255
256
257

258




259
260
261
262
263
264
265
			pool = [[OFAutoreleasePool alloc] init];
		} @catch (id e) {
			[e release];
			return false;
		}

		@try {
			const char *desc =
			    [[va_arg(ctx->args, id) description] cString];


			tmp_len = asprintf(&tmp, ctx->subfmt, desc);




		} @catch (id e) {
			[e release];
			return false;
		} @finally {
			[pool release];
		}








|
<

>
|
>
>
>
>







248
249
250
251
252
253
254
255

256
257
258
259
260
261
262
263
264
265
266
267
268
269
			pool = [[OFAutoreleasePool alloc] init];
		} @catch (id e) {
			[e release];
			return false;
		}

		@try {
			id obj;


			if ((obj = va_arg(ctx->args, id)) != nil)
				tmp_len = asprintf(&tmp, ctx->subfmt,
				    [[obj description] cString]);
			else
				if (!append_str(ctx, "(nil)", 5))
					return false;
		} @catch (id e) {
			[e release];
			return false;
		} @finally {
			[pool release];
		}