[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.network.inc.php, 1.8.2.4, 1.8.2.4.
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.network.inc.php, 1.8.2.4, 1.8.2.4.2.1 |
Date: |
Sun, 16 Nov 2003 16:44:46 +0000 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv26420
Modified Files:
Tag: Version-0_9_16-branch
class.network.inc.php
Log Message:
supress a php warning on failed connections
Index: class.network.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.network.inc.php,v
retrieving revision 1.8.2.4
retrieving revision 1.8.2.4.2.1
diff -C2 -d -r1.8.2.4 -r1.8.2.4.2.1
*** class.network.inc.php 1 Sep 2002 13:37:17 -0000 1.8.2.4
--- class.network.inc.php 16 Nov 2003 16:44:43 -0000 1.8.2.4.2.1
***************
*** 76,90 ****
break;
}
! if(floor(phpversion()) == 4)
! {
! $this->socket =
fsockopen($server,$port,$errcode,$errmsg,$timeout);
! if($this->socket)
! {
!
socket_set_timeout($this->socket,$timeout,0);
! }
! }
! else
{
! $this->socket =
fsockopen($server,$port,$errcode,$errmsg);
}
if (!$this->socket)
--- 76,83 ----
break;
}
! $this->socket =
@fsockopen($server,$port,$errcode,$errmsg,$timeout);
! if($this->socket)
{
! socket_set_timeout($this->socket,$timeout,0);
}
if (!$this->socket)
***************
*** 247,249 ****
}
}
! ?>
\ No newline at end of file
--- 240,242 ----
}
}
! ?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.network.inc.php, 1.8.2.4, 1.8.2.4.2.1,
Dave Hall <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] etemplate/inc class.date_widget.inc.php, 1.13.2.6, 1.13.2.7
- Next by Date:
[Phpgroupware-cvs] property/inc class.sotts.inc.php, 1.36, 1.37 class.uiadmin_entity.inc.php, 1.13, 1.14 class.soadmin_entity.inc.php, 1.16, 1.17
- Previous by thread:
[Phpgroupware-cvs] etemplate/inc class.date_widget.inc.php, 1.13.2.6, 1.13.2.7
- Next by thread:
[Phpgroupware-cvs] property/inc class.sotts.inc.php, 1.36, 1.37 class.uiadmin_entity.inc.php, 1.13, 1.14 class.soadmin_entity.inc.php, 1.16, 1.17
- Index(es):