fixed uninitialised memory read in rsgxsdataaccess.cc

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7712 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-11-26 20:33:29 +00:00
parent a9c40bf1d8
commit e2daec7134

View File

@ -361,7 +361,8 @@ uint32_t RsGxsDataAccess::requestStatus(uint32_t token)
if(mPublicToken.find(token) != mPublicToken.end())
return mPublicToken[token];
}
checkRequestStatus(token, status, reqtype, anstype, ts);
if(!checkRequestStatus(token, status, reqtype, anstype, ts))
return RsTokenService::GXS_REQUEST_V2_STATUS_FAILED ;
return status;
}