added few comments and renamed one field in MessageBase.h

This commit is contained in:
Andrey Prygunkov
2007-12-13 00:34:00 +00:00
parent 0a43829772
commit adedd66dac
4 changed files with 83 additions and 81 deletions

View File

@@ -503,7 +503,7 @@ void MessageCommand::Run()
SNZBMessageBase* pMessageBase = (SNZBMessageBase*) & m_RequestBuffer;
// Make sure this is a nzbget request from a client
if (ntohl(pMessageBase->m_iId) != NZBMESSAGE_SIGNATURE)
if (ntohl(pMessageBase->m_iSignature) != NZBMESSAGE_SIGNATURE)
{
warn("Non-nzbget request received on port %i", g_pOptions->GetServerPort());