mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 03:16:29 +03:00
mark actually safe function as such
This commit is contained in:
committed by
holger krekel
parent
5ffc84eb59
commit
27732c85af
@@ -494,7 +494,7 @@ pub fn dc_gm2local_offset() -> i64 {
|
||||
}
|
||||
|
||||
/* timesmearing */
|
||||
pub unsafe fn dc_smeared_time(context: &Context) -> i64 {
|
||||
pub fn dc_smeared_time(context: &Context) -> i64 {
|
||||
/* function returns a corrected time(NULL) */
|
||||
let mut now = time();
|
||||
let ts = *context.last_smeared_timestamp.clone().read().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user