]> git.mxchange.org Git - hub.git/commitdiff
Very noisy function if failing.
authorRoland Häder <roland@mxchange.org>
Sat, 19 May 2012 18:36:55 +0000 (18:36 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 19 May 2012 18:36:55 +0000 (18:36 +0000)
application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php

index 4a1a6b21a9b63679388bcfdc9fae5a643b5ac78e..6b9cc07bd562f48f7e0f6efc7d062939e368ae27 100644 (file)
@@ -220,7 +220,7 @@ class PeerStateLookupDatabaseWrapper extends BaseDatabaseWrapper implements Look
         */
        public function purgeOldEntriesBySocketResource ($socketResource) {
                // Get peer name
-               if (!socket_getpeername($socketResource, $peerName, $peerPort)) {
+               if (!@socket_getpeername($socketResource, $peerName, $peerPort)) {
                        // Get last error
                        $lastError = socket_last_error($socketResource);