]> git.mxchange.org Git - hub.git/commitdiff
Double quotes converted to single
authorRoland Häder <roland@mxchange.org>
Sun, 28 Jul 2013 23:28:32 +0000 (23:28 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 28 Jul 2013 23:28:32 +0000 (23:28 +0000)
application/hub/loader.php
application/hub/main/database/wrapper/node/class_NodeDistributedHashTableDatabaseWrapper.php
application/hub/main/helper/connection/class_BaseConnectionHelper.php

index 4c415aae4e97b569d2bca8bcc71b3ea6ae5d6db3..5fedc6a907c43fbadc443187fd596e945f0bca53 100644 (file)
@@ -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
index 7870e0c22968837720d31da88c7e79df3ab9279e..a5388d2dbaf9248769aad67cb46143fae1d3a95d 100644 (file)
@@ -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,
                        )
                );
 
index bf0897653c363cdc58729873b21f86e92d36638b..b14223de4f8f0ad995b2dc7186efeb6205ae41d6 100644 (file)
@@ -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.');
        }
 }