]> git.mxchange.org Git - hub.git/commitdiff
Was also very noisy
authorRoland Häder <roland@mxchange.org>
Sat, 19 May 2012 20:26:01 +0000 (20:26 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 19 May 2012 20:26:01 +0000 (20:26 +0000)
application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php

index 6b9cc07bd562f48f7e0f6efc7d062939e368ae27..4c9f2f4990ab6a22d45c03cce8c0852888d83aff 100644 (file)
@@ -147,7 +147,7 @@ class PeerStateLookupDatabaseWrapper extends BaseDatabaseWrapper implements Look
                $dataSetInstance->addCriteria(self::DB_COLUMN_PEER_SESSION_ID, $packageData[NetworkPackage::PACKAGE_DATA_SENDER]);
 
                // Get peer name
-               if (!socket_getpeername($socketResource, $peerName, $peerPort)) {
+               if (!@socket_getpeername($socketResource, $peerName, $peerPort)) {
                        // Get last error
                        $lastError = socket_last_error($socketResource);