mirror of https://github.com/BOINC/boinc.git
MGR: get_messages and get_notices RPCs don't alternate buffers, so remove the unused buffers from CMainDocument class
svn path=/trunk/boinc/; revision=21854
This commit is contained in:
parent
fa82aaa435
commit
6906c46383
|
@ -4907,3 +4907,10 @@ David 30 Jun 2010
|
|||
|
||||
client/
|
||||
gui_rpc_server.cpp
|
||||
|
||||
Charlie 30 Jun 2010
|
||||
- MGR: get_messages and get_notices RPCs don't alternate buffers, so
|
||||
remove the unused buffers from CMainDocument class.
|
||||
|
||||
clientgui/
|
||||
MainDocument.cpp, .h
|
||||
|
|
|
@ -925,8 +925,6 @@ void CMainDocument::RunPeriodicRPCs(int frameRefreshRate) {
|
|||
// of RPC, so pass in a pointer rather than its value
|
||||
request.arg1 = &m_iMessageSequenceNumber;
|
||||
request.arg2 = &messages;
|
||||
// request.arg2 = &async_messages_buf;
|
||||
// request.exchangeBuf = &messages;
|
||||
request.rpcType = RPC_TYPE_ASYNC_WITH_REFRESH_EVENT_LOG_AFTER;
|
||||
request.completionTime = NULL;
|
||||
request.resultPtr = &m_iGet_messages_rpc_result;
|
||||
|
|
|
@ -291,7 +291,6 @@ private:
|
|||
|
||||
public:
|
||||
NOTICES notices;
|
||||
NOTICES async_notices_buf;
|
||||
int m_iGet_notices_rpc_result;
|
||||
|
||||
NOTICE* notice(unsigned int);
|
||||
|
@ -312,7 +311,6 @@ private:
|
|||
|
||||
public:
|
||||
MESSAGES messages;
|
||||
MESSAGES async_messages_buf;
|
||||
int m_iGet_messages_rpc_result;
|
||||
|
||||
MESSAGE* message(unsigned int);
|
||||
|
|
Loading…
Reference in New Issue