mirror of
https://github.com/nzbget/nzbget.git
synced 2026-04-24 14:56:53 -04:00
added few comments and renamed one field in MessageBase.h
This commit is contained in:
@@ -122,7 +122,7 @@ bool RemoteClient::InitConnection()
|
||||
|
||||
void RemoteClient::InitMessageBase(SNZBMessageBase* pMessageBase, int iRequest, int iSize)
|
||||
{
|
||||
pMessageBase->m_iId = htonl(NZBMESSAGE_SIGNATURE);
|
||||
pMessageBase->m_iSignature = htonl(NZBMESSAGE_SIGNATURE);
|
||||
pMessageBase->m_iType = htonl(iRequest);
|
||||
pMessageBase->m_iSize = htonl(iSize);
|
||||
strncpy(pMessageBase->m_szPassword, g_pOptions->GetServerPassword(), NZBREQUESTPASSWORDSIZE - 1);
|
||||
|
||||
Reference in New Issue
Block a user