mark actually safe function as such

This commit is contained in:
B. Petersen
2019-09-05 23:20:08 +02:00
committed by holger krekel
parent 5ffc84eb59
commit 27732c85af

View File

@@ -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();