phpgroupware-cvs
[Top][All Lists]
Advanced

[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 ----
                }
        }
! ?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]