version 0.3.31
[fms.git] / src / freenet / trustlistinserter.cpp
index 10bfbce..3461078 100644 (file)
@@ -261,7 +261,8 @@ void TrustListInserter::StartInsert(const long localidentityid, const std::strin
        m_fcp->Send(message);\r
        m_fcp->Send(std::vector<char>(data.begin(),data.end()));\r
 \r
-       // insert to USK\r
+       // insert to USK - not used, but don't remove code yet\r
+       /*\r
        message.Clear();\r
        message.SetName("ClientPutComplexDir");\r
        message["URI"]="USK"+privatekey.substr(3)+m_messagebase+"|"+Poco::DateTimeFormatter::format(now,"%Y.%m.%d")+"|TrustList/0/";\r
@@ -272,6 +273,7 @@ void TrustListInserter::StartInsert(const long localidentityid, const std::strin
        message["Files.0.DataLength"]=datasizestr;\r
        m_fcp->Send(message);\r
        m_fcp->Send(std::vector<char>(data.begin(),data.end()));\r
+       */\r
 \r
        m_db->Execute("UPDATE tblLocalIdentity SET InsertingTrustList='true' WHERE LocalIdentityID="+localidentityidstr+";");\r
 \r