MCPcopy Create free account
hub / github.com/amule-project/amule / RepublishFile

Method RepublishFile

src/SharedFileList.cpp:975–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

973}
974
975void CSharedFileList::RepublishFile(CKnownFile* pFile)
976{
977 CServer* server = theApp->serverconnect->GetCurrentServer();
978 if (server && (server->GetTCPFlags() & SRV_TCPFLG_COMPRESSION)) {
979 m_lastPublishED2KFlag = true;
980 pFile->SetPublishedED2K(false); // FIXME: this creates a wrong 'No' for the ed2k shared info in the listview until the file is shared again.
981 }
982}
983
984static uint8 GetRealPrio(uint8 in)
985{

Callers 1

CompleteFileEndedMethod · 0.80

Calls 3

GetTCPFlagsMethod · 0.80
SetPublishedED2KMethod · 0.80
GetCurrentServerMethod · 0.45

Tested by

no test coverage detected