mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 08:16:32 +03:00
Update deltachat-ffi/src/lib.rs
Co-Authored-By: Alexander Krotov <ilabdsf@gmail.com>
This commit is contained in:
committed by
Floris Bruynooghe
parent
98b3151c5f
commit
01b55d1d29
@@ -699,7 +699,7 @@ pub unsafe extern "C" fn _dc_save_self_keypair(
|
|||||||
secret_data: *const libc::c_char,
|
secret_data: *const libc::c_char,
|
||||||
) -> i32 {
|
) -> i32 {
|
||||||
if context.is_null() {
|
if context.is_null() {
|
||||||
eprintln!("ignoring careless call to dc_save_keypair()");
|
eprintln!("ignoring careless call to _dc_save_self_keypair()");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
let ffi_context = &*context;
|
let ffi_context = &*context;
|
||||||
|
|||||||
Reference in New Issue
Block a user