mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
RsTokenService use enum for request status
This commit is contained in:
parent
ec95b6d054
commit
b4d2ce82c1
20 changed files with 146 additions and 153 deletions
|
@ -2229,11 +2229,11 @@ bool p3FeedReader::waitForToken(uint32_t token)
|
|||
|
||||
while (!mStopped) {
|
||||
uint32_t status = service->requestStatus(token);
|
||||
if (status == RsTokenService::GXS_REQUEST_V2_STATUS_FAILED) {
|
||||
if (status == RsTokenService::FAILED) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (status == RsTokenService::GXS_REQUEST_V2_STATUS_COMPLETE) {
|
||||
if (status == RsTokenService::COMPLETE) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue