removed C99-ism

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25041 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2007-04-13 21:35:42 +00:00
parent 6f40ca9efe
commit 1b113ba060
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2007-04-13 Ricccardo Mottola <riccardo@kaffe.org>
* Source/GSHTTPURLHandle.m : removed C99-ism
2007-04-13 Adam Fedor <fedor@gnu.org>
* Version: Fix matching numeric version

View file

@ -1239,6 +1239,8 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
if (sock != nil)
{
int fd;
if (debug)
{
NSLog(@"%@ check for reusable socket", NSStringFromSelector(_cmd));
@ -1269,7 +1271,7 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
object: test];
RELEASE(test);
#else
int fd = [sock fileDescriptor];
fd = [sock fileDescriptor];
if (fd >= 0)
{