From: helge Date: Thu, 7 Jul 2005 15:51:48 +0000 (+0000) Subject: fixed init X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38ae251e3a0dbfd4351c85ae13948b3262504ec8;p=sope fixed init git-svn-id: http://svn.opengroupware.org/SOPE/trunk@870 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-xml/samples/rssparse.m b/sope-xml/samples/rssparse.m index 2371121f..fb41a930 100644 --- a/sope-xml/samples/rssparse.m +++ b/sope-xml/samples/rssparse.m @@ -98,12 +98,12 @@ int main(int argc, char **argv, char **env) { NSAutoreleasePool *pool; + + pool = [[NSAutoreleasePool alloc] init]; #if LIB_FOUNDATION_LIBRARY [NSProcessInfo initializeWithArguments:argv count:argc environment:env]; #endif - pool = [[NSAutoreleasePool alloc] init]; - if ([[[NSProcessInfo processInfo] arguments] count] < 2) { fprintf(stderr, "usage: %s \n", [[[[NSProcessInfo processInfo] arguments] lastObject] cString]);