diff --git a/include/common/tgrant.h b/include/common/tgrant.h index ae58ba88ad..42adabd6f7 100644 --- a/include/common/tgrant.h +++ b/include/common/tgrant.h @@ -29,8 +29,8 @@ extern "C" { #endif #define GRANT_HEART_BEAT_MIN 2 -#define GRANT_MAX_EXPIRE_SEC (31556995201) -#define GRANT_EXPIRE_UNLIMITED(v) ((v) == GRANT_MAX_EXPIRE_SEC) +#define GRANT_EXPIRE_VALUE (31556995201) +#define GRANT_EXPIRE_UNLIMITED(v) ((v) == GRANT_EXPIRE_VALUE) #define GRANT_ACTIVE_CODE "activeCode" #define GRANT_FLAG_ALL (0x01) #define GRANT_FLAG_AUDIT (0x02)