From: Roland Häder Date: Sat, 19 May 2012 20:26:01 +0000 (+0000) Subject: Was also very noisy X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eb9bba2fb799cfdb9a04240616a2e3be3363c0a4;p=hub.git Was also very noisy --- diff --git a/application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php b/application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php index 6b9cc07bd..4c9f2f499 100644 --- a/application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php +++ b/application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php @@ -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);