diff --git a/src/dc_imex.rs b/src/dc_imex.rs index 4726c74f0..21bc72125 100644 --- a/src/dc_imex.rs +++ b/src/dc_imex.rs @@ -29,7 +29,7 @@ use crate::x::*; // param1 is a directory where the keys are searched in and read from // param1 is a directory where the backup is written to // param1 is the file with the backup to import -pub unsafe fn dc_imex( +pub fn dc_imex( context: &Context, what: libc::c_int, param1: *const libc::c_char,