From 8317830b107c104db6859ad2364688d05d31fb2a Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 29 Sep 2013 00:29:08 +0000 Subject: [PATCH] Do not output (null) if capabilities unavailable. --- gssc.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gssc.mm b/gssc.mm index fc18d11..bf511f4 100644 --- a/gssc.mm +++ b/gssc.mm @@ -97,14 +97,14 @@ int main(int argc, char *argv[]) { break; } - if (capability != nil) + if (capability != nil) { + printf("%s\n", capability == nil ? "(null)" : [[capability description] UTF8String]); break; + } CFRunLoopRun(); } - printf("%s\n", capability == nil ? "(null)" : [[capability description] UTF8String]); - [pool release]; return 0; -- 2.45.2