mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 08:29:32 -05:00
improved variable name and comment for GxsRequest::ansType
This commit is contained in:
parent
54f8ef1ffe
commit
bc748bf152
@ -301,7 +301,7 @@ bool RsGxsDataAccess::requestMsgRelatedInfo(uint32_t &token, uint32_t ansType, c
|
||||
void RsGxsDataAccess::setReq(GxsRequest* req, uint32_t token, uint32_t ansType, const RsTokReqOptions& opts) const
|
||||
{
|
||||
req->token = token;
|
||||
req->ansType = ansType;
|
||||
req->clientAnswerType = ansType;
|
||||
req->Options = opts;
|
||||
return;
|
||||
}
|
||||
@ -1724,7 +1724,7 @@ bool RsGxsDataAccess::checkRequestStatus( uint32_t token, GxsRequestStatus& stat
|
||||
|
||||
if(req != nullptr)
|
||||
{
|
||||
anstype = req->ansType;
|
||||
anstype = req->clientAnswerType;
|
||||
reqtype = req->reqType;
|
||||
status = COMPLETE;
|
||||
ts = req->reqTime;
|
||||
|
@ -29,14 +29,14 @@
|
||||
struct GxsRequest
|
||||
{
|
||||
GxsRequest() :
|
||||
token(0), reqTime(0), ansType(0), reqType(0),
|
||||
token(0), reqTime(0), clientAnswerType(0), reqType(0),
|
||||
status(RsTokenService::FAILED) {}
|
||||
virtual ~GxsRequest() {}
|
||||
|
||||
uint32_t token;
|
||||
uint32_t reqTime;
|
||||
|
||||
RS_DEPRECATED uint32_t ansType; /// G10h4ck: This is of no use. csoler: it's made available to the clients.
|
||||
uint32_t clientAnswerType; /// This is made available to the clients in order to keep track of why specific requests where sent..
|
||||
uint32_t reqType;
|
||||
RsTokReqOptions Options;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user