solve some php warnings

git-svn-id: http://www.observium.org/svn/observer/trunk@1689 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-08-21 14:02:24 +00:00
parent a92ce17f21
commit 05b189a0c7
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ function addHost($host, $community, $snmpver, $port = 161)
function scanUDP ($host, $port, $timeout)
{
$handle = fsockopen($host, $port, &$errno, &$errstr, 2);
$handle = fsockopen($host, $port, $errno, $errstr, 2);
if (!$handle) {
}
socket_set_timeout ($handle, $timeout);