mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
6f40ca9efe
commit
1b113ba060
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>
|
2007-04-13 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Version: Fix matching numeric version
|
* Version: Fix matching numeric version
|
||||||
|
|
|
@ -1239,6 +1239,8 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
||||||
|
|
||||||
if (sock != nil)
|
if (sock != nil)
|
||||||
{
|
{
|
||||||
|
int fd;
|
||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
NSLog(@"%@ check for reusable socket", NSStringFromSelector(_cmd));
|
NSLog(@"%@ check for reusable socket", NSStringFromSelector(_cmd));
|
||||||
|
@ -1269,7 +1271,7 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
||||||
object: test];
|
object: test];
|
||||||
RELEASE(test);
|
RELEASE(test);
|
||||||
#else
|
#else
|
||||||
int fd = [sock fileDescriptor];
|
fd = [sock fileDescriptor];
|
||||||
|
|
||||||
if (fd >= 0)
|
if (fd >= 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue