diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2018-03-06 20:24:07 +0300 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2018-03-07 12:54:58 +0300 |
commit | bebafc42ab6199e86d4c2c901fac8d091bfffef0 (patch) | |
tree | f3961879845e89688c6628dccf1a3c9cd3ebb9b3 /include/statusmodes.h | |
parent | 7e9fef8a6ff35c63f9217fcc618d77f660e45245 (diff) |
some fixes
Diffstat (limited to 'include/statusmodes.h')
-rw-r--r-- | include/statusmodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/statusmodes.h b/include/statusmodes.h index 1eb49e11e8..993b75aabc 100644 --- a/include/statusmodes.h +++ b/include/statusmodes.h @@ -40,7 +40,7 @@ __forceinline bool IsStatusConnecting(int iStatus) return iStatus >= ID_STATUS_CONNECTING && iStatus < ID_STATUS_CONNECTING + MAX_CONNECT_RETRIES;
}
#else
- #define IsStatusConnecting(X) (X >= ID_STATUS_CONNECTING && X < ID_STATUS_CONNECTING + MAX_CONNECT_RETRIES)
+ #define IsStatusConnecting(X) ((X) >= ID_STATUS_CONNECTING && (X) < ID_STATUS_CONNECTING + MAX_CONNECT_RETRIES)
#endif
#define ID_STATUS_OFFLINE 40071
|