Skip to content

Commit 57ecee7

Browse files
author
Ivan Stoev
committed
Merge branch 'master' into refactor_buissiness
2 parents f5dbc21 + 5e4a835 commit 57ecee7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pdiff.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,6 +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());
12631264
if (psync_is_business || crsub){
12641265
if (crst)
12651266
crstat = 5;
@@ -1269,7 +1270,7 @@ static void process_modifyuserinfo(const binresult *entry){
12691270
crstat = 1;
12701271
else
12711272
{
1272-
if (psync_millitime() > crexp)
1273+
if (psync_time() > crexp)
12731274
crstat = 3;
12741275
else
12751276
crstat = 2;

0 commit comments

Comments
 (0)