]> git.mxchange.org Git - hub.git/commitdiff
Wrongly named + more debug log.
authorRoland Haeder <roland@mxchange.org>
Thu, 20 Feb 2014 21:28:56 +0000 (22:28 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 20 Feb 2014 21:28:56 +0000 (22:28 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/config.php
application/hub/main/helper/connection/class_BaseConnectionHelper.php
application/hub/main/package/fragmenter/class_PackageFragmenter.php

index d297bcca6dd5897ca621cd431b0745123fcf10d5..eef45efff30dd5108ddae93762c8f7ebd0eb6b96 100644 (file)
@@ -208,7 +208,7 @@ $cfg->setConfigEntry('package_tag_request_node_list_filter', 'PackageRequestNode
 $cfg->setConfigEntry('package_tag_request_node_list_answer_filter', 'PackageRequestNodeListAnswerTagFilter');
 
 // CFG: PACKAGE-TAG-DHT-BOOTSTRAP-FILTER
-$cfg->setConfigEntry('package_tag_announcement_filter', 'PackageDhtBootstrapTagFilter');
+$cfg->setConfigEntry('package_tag_dht_bootstrap_filter', 'PackageDhtBootstrapTagFilter');
 
 // CFG: MESSAGE-TYPE-ANNOUNCEMENT-HANDLER-CLASS
 $cfg->setConfigEntry('message_type_announcement_handler_class', 'NodeMessageAnnouncementHandler');
index 560fc5dbd4b14afa4c31489ab13d865cea02a6c8..8ad8893b07dc2ec9de000a437513d1aee0e07e74 100644 (file)
@@ -332,7 +332,7 @@ class BaseConnectionHelper extends BaseHubSystemHelper implements Registerable,
                $finalHash = $this->getFragmenterInstance()->fragmentPackageArray($packageData, $this);
                if ($finalHash !== TRUE) {
                        // Debug message
-                       /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CONNECTION-HELPER[' . __METHOD__ . ':' . __LINE__ . ']: Setting finalHash=' . $finalHash);
+                       /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CONNECTION-HELPER[' . __METHOD__ . ':' . __LINE__ . ']: Setting finalHash=' . $finalHash . ',currentFinalHash[' . gettype($this->currentFinalHash) . ']=' . $this->currentFinalHash);
 
                        // Set final hash
                        $this->currentFinalHash = $finalHash;
index 7d8bb6b902b4957b82707ab6d36aeebb3e890c76..d0fbf3fd0c68655d9a602e4b85f59bea5673e8ce 100644 (file)
@@ -416,12 +416,14 @@ class PackageFragmenter extends BaseHubSystem implements Fragmentable, Registera
                assert($this->serialNumber <= $this->maxSerialNumber);
 
                // Encode the current serial number
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(__METHOD__ . ': serialNumber=' . $this->serialNumber);
                $encodedSerialNumber = $this->dec2Hex($this->serialNumber, self::MAX_SERIAL_LENGTH);
 
                // Count one up
                $this->serialNumber++;
 
                // Return the encoded serial number
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(__METHOD__ . ': encodedSerialNumber=' . $encodedSerialNumber);
                return $encodedSerialNumber;
        }