mirror of
https://github.com/chatmail/core.git
synced 2026-05-23 00:36:32 +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 */
|
/* timesmearing */
|
||||||
pub unsafe fn dc_smeared_time(context: &Context) -> i64 {
|
pub fn dc_smeared_time(context: &Context) -> i64 {
|
||||||
/* function returns a corrected time(NULL) */
|
/* function returns a corrected time(NULL) */
|
||||||
let mut now = time();
|
let mut now = time();
|
||||||
let ts = *context.last_smeared_timestamp.clone().read().unwrap();
|
let ts = *context.last_smeared_timestamp.clone().read().unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user