mirror of
https://github.com/nzbget/nzbget.git
synced 2026-04-24 06:46:56 -04:00
added few comments and renamed one field in MessageBase.h
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user