From: Roland Häder Date: Sun, 28 Jul 2013 23:28:32 +0000 (+0000) Subject: Double quotes converted to single X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e03c8858defee52b8e9d2acf1ff2b24800e8393c;p=hub.git Double quotes converted to single --- 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.'); } }