diff options
Diffstat (limited to 'protocols/MRA/MraProto.cpp')
-rw-r--r-- | protocols/MRA/MraProto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/MraProto.cpp b/protocols/MRA/MraProto.cpp index fc82af9785..3a83c98af5 100644 --- a/protocols/MRA/MraProto.cpp +++ b/protocols/MRA/MraProto.cpp @@ -615,7 +615,7 @@ int CMraProto::SetStatus(int iNewStatus) }
// nothing to change
- if (InterlockedExchangeAdd((volatile LONG*)&m_iStatus, 0) == iNewStatus && iNewStatus != m_iDesiredStatus)
+ if (m_iStatus == iNewStatus)
return 0;
DWORD dwOldStatusMode;
|