From e03c8858defee52b8e9d2acf1ff2b24800e8393c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 28 Jul 2013 23:28:32 +0000 Subject: [PATCH] Double quotes converted to single --- application/hub/loader.php | 2 +- .../node/class_NodeDistributedHashTableDatabaseWrapper.php | 6 +++--- .../main/helper/connection/class_BaseConnectionHelper.php | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/application/hub/loader.php b/application/hub/loader.php index 4c415aae4..5fedc6a90 100644 --- a/application/hub/loader.php +++ b/application/hub/loader.php @@ -27,7 +27,7 @@ $cfg = FrameworkConfiguration::getSelfInstance(); // Load all classes for the application foreach ($lowerClasses as $class) { // Try to load the application classes - ClassLoader::getSelfInstance()->scanClassPath(sprintf("%s/%s/%s", $cfg->getConfigEntry('application_path'), $cfg->getConfigEntry('app_name'), $class)); + ClassLoader::getSelfInstance()->scanClassPath(sprintf('%s/%s/%s', $cfg->getConfigEntry('application_path'), $cfg->getConfigEntry('app_name'), $class)); } // END - foreach // Clean up the global namespace diff --git a/application/hub/main/database/wrapper/node/class_NodeDistributedHashTableDatabaseWrapper.php b/application/hub/main/database/wrapper/node/class_NodeDistributedHashTableDatabaseWrapper.php index 7870e0c22..a5388d2db 100644 --- a/application/hub/main/database/wrapper/node/class_NodeDistributedHashTableDatabaseWrapper.php +++ b/application/hub/main/database/wrapper/node/class_NodeDistributedHashTableDatabaseWrapper.php @@ -289,9 +289,9 @@ class NodeDistributedHashTableDatabaseWrapper extends BaseDatabaseWrapper implem $searchInstance, // Only look for these array elements ("keys") array( - self::DB_COLUMN_NODE_ID, - self::DB_COLUMN_EXTERNAL_IP, - self::DB_COLUMN_LISTEN_PORT, + self::DB_COLUMN_NODE_ID => TRUE, + self::DB_COLUMN_EXTERNAL_IP => TRUE, + self::DB_COLUMN_LISTEN_PORT => TRUE, ) ); diff --git a/application/hub/main/helper/connection/class_BaseConnectionHelper.php b/application/hub/main/helper/connection/class_BaseConnectionHelper.php index bf0897653..b14223de4 100644 --- a/application/hub/main/helper/connection/class_BaseConnectionHelper.php +++ b/application/hub/main/helper/connection/class_BaseConnectionHelper.php @@ -629,6 +629,8 @@ class BaseConnectionHelper extends BaseHubSystemHelper implements Registerable, * @return void */ protected function socketErrorOperationInProgressHandler ($socketResource, array $recipientData) { + $type = socket_get_option($socketResource, SOL_SOCKET, SO_TYPE); + die('type='.$type.PHP_EOL); self::createDebugInstance(__CLASS__)->debugOutput('CONNECTION-HELPER[' . __LINE__ . ']: Operation is now in progress, this is usual for non-blocking connections and is no bug.'); } } -- 2.39.5