mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
removed c99-ism
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28266 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a6312877c8
commit
7b9779240f
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-05-03 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/NSURLProtocol.m: Removed c99-ism
|
||||
|
||||
2009-03-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GNUmakefile.postamble: remove generated files from pathconfig
|
||||
|
|
|
@ -344,8 +344,10 @@ static NSURLProtocol *placeholder = nil;
|
|||
+(Class) _classToHandleRequest:(NSURLRequest *)request
|
||||
{
|
||||
Class protoClass = nil;
|
||||
int count;
|
||||
[regLock lock];
|
||||
int count = [registered count];
|
||||
|
||||
count = [registered count];
|
||||
while (count-- > 0)
|
||||
{
|
||||
Class proto = [registered objectAtIndex: count];
|
||||
|
|
Loading…
Reference in a new issue