This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

#5657 Fix wrong logic about checking if serial key expired

  • Loading branch information...
Jerry (Xinyu Hou)
Jerry (Xinyu Hou) committed Oct 18, 2016
1 parent 8596084 commit e65631c45142000769dc51ac05c83ff06bed17f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib/server/Server.cpp
@@ -455,7 +455,7 @@ Server::switchScreen(BaseClientProxy* dst,
assert(dst != NULL);
// if trial is expired, exit the process
- if (!m_args.m_serial.isExpired(std::time(0))) {
+ if (m_args.m_serial.isExpired(std::time(0))) {
LOG((CLOG_ERR "trial has expired, aborting server"));
exit(kExitSuccess);
}

0 comments on commit e65631c

Please sign in to comment.