Skip to content

Commit 5e4a835

Browse files
author
Ivan Stoev
committed
Crypto time fix.
1 parent ea8f95f commit 5e4a835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pdiff.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ static void process_modifyuserinfo(const binresult *entry){
12601260
psync_sql_bind_string(q, 1, "cryptoexpires");
12611261
psync_sql_bind_uint(q, 2, crexp);
12621262
psync_sql_run(q);
1263-
debug(D_NOTICE, "Tracing crypto time - cryptoexpires [%lld] psync_millitime [%lld]",(long long)crexp, (long long)psync_millitime());
1263+
//debug(D_NOTICE, "Tracing crypto time - cryptoexpires [%lld] psync_millitime [%lld]",(long long)crexp, (long long)psync_millitime());
12641264
if (psync_is_business || crsub){
12651265
if (crst)
12661266
crstat = 5;
@@ -1270,7 +1270,7 @@ static void process_modifyuserinfo(const binresult *entry){
12701270
crstat = 1;
12711271
else
12721272
{
1273-
if (psync_millitime() > crexp)
1273+
if (psync_time() > crexp)
12741274
crstat = 3;
12751275
else
12761276
crstat = 2;

0 commit comments

Comments
 (0)