mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
e843853cf6
commit
149145082b
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue