Browse code

usrloc: proper condition when using rm_expired_delay

Daniel-Constantin Mierla authored on 26/01/2018 07:41:19
Showing 1 changed files
... ...
@@ -902,7 +902,7 @@ int db_timer_udomain(udomain_t* _d)
902 902
 	keys[0] = &expires_col;
903 903
 	ops[0] = "<";
904 904
 	vals[0].nul = 0;
905
-	UL_DB_EXPIRES_SET(&vals[0], act_time + 1 + ul_rm_expired_delay);
905
+	UL_DB_EXPIRES_SET(&vals[0], act_time + 1 - ul_rm_expired_delay);
906 906
 
907 907
 	keys[1] = &expires_col;
908 908
 	ops[1] = OP_NEQ;